Class BindingContextFactory

java.lang.Object
com.sun.xml.ws.spi.db.BindingContextFactory
Direct Known Subclasses:
JAXBRIContextFactory

public abstract class BindingContextFactory extends Object
BindingContextFactory
Author:
shih-chang.chen@oracle.com
  • Field Details

    • DefaultDatabindingMode

      public static final String DefaultDatabindingMode
      See Also:
    • JAXB_CONTEXT_FACTORY_PROPERTY

      public static final String JAXB_CONTEXT_FACTORY_PROPERTY
    • LOGGER

      public static final Logger LOGGER
  • Constructor Details

    • BindingContextFactory

      public BindingContextFactory()
  • Method Details

    • serviceIterator

      public static Iterator<BindingContextFactory> serviceIterator()
    • newContext

      protected abstract BindingContext newContext(javax.xml.bind.JAXBContext context)
    • newContext

      protected abstract BindingContext newContext(BindingInfo bi)
    • isFor

      protected abstract boolean isFor(String databinding)
      Check to see if the BindingContextFactory is for the databinding mode/flavor. The String parameter can be the package name of the JAXBContext implementation as well.
      Parameters:
      databinding - mode/flavor or the package name of the JAXBContext implementation.
      Returns:
    • getContext

      protected abstract BindingContext getContext(javax.xml.bind.Marshaller m)
      Deprecated.
      - Does jaxws need this?
    • create

      public static BindingContext create(javax.xml.bind.JAXBContext context) throws DatabindingException
      Throws:
      DatabindingException
    • create

      public static BindingContext create(BindingInfo bi)
    • isContextSupported

      public static boolean isContextSupported(Object o)
    • getBindingContext

      public static BindingContext getBindingContext(javax.xml.bind.Marshaller m)
      Deprecated.
      - Does jaxws need this?