com.sun.xml.ws.spi.db
Class BindingContextFactory

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

public abstract class BindingContextFactory
extends java.lang.Object

BindingContextFactory


Field Summary
static java.lang.String DefaultDatabindingMode
           
static java.lang.String JAXB_CONTEXT_FACTORY_PROPERTY
           
static java.util.logging.Logger LOGGER
           
 
Constructor Summary
BindingContextFactory()
           
 
Method Summary
static BindingContext create(BindingInfo bi)
           
static BindingContext create(javax.xml.bind.JAXBContext context)
           
static BindingContext getBindingContext(javax.xml.bind.Marshaller m)
          Deprecated. - Does jaxws need this?
protected abstract  BindingContext getContext(javax.xml.bind.Marshaller m)
          Deprecated. - Does jaxws need this?
static boolean isContextSupported(java.lang.Object o)
           
protected abstract  boolean isFor(java.lang.String databinding)
          Check to see if the BindingContextFactory is for the databinding mode/flavor.
protected abstract  BindingContext newContext(BindingInfo bi)
           
protected abstract  BindingContext newContext(javax.xml.bind.JAXBContext context)
           
static java.util.Iterator<BindingContextFactory> serviceIterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DefaultDatabindingMode

public static final java.lang.String DefaultDatabindingMode
See Also:
Constant Field Values

JAXB_CONTEXT_FACTORY_PROPERTY

public static final java.lang.String JAXB_CONTEXT_FACTORY_PROPERTY

LOGGER

public static final java.util.logging.Logger LOGGER
Constructor Detail

BindingContextFactory

public BindingContextFactory()
Method Detail

serviceIterator

public static java.util.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(java.lang.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(java.lang.Object o)

getBindingContext

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



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.