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 Object

BindingContextFactory


Field Summary
static String DefaultDatabindingMode
           
static String JAXB_CONTEXT_FACTORY_PROPERTY
           
static Logger LOGGER
           
 
Constructor Summary
BindingContextFactory()
           
 
Method Summary
static BindingContext create(BindingInfo bi)
           
static BindingContext create(JAXBContext context)
           
static BindingContext getBindingContext(Marshaller m)
          Deprecated. - Does jaxws need this?
protected abstract  BindingContext getContext(Marshaller m)
          Deprecated. - Does jaxws need this?
(package private) static BindingContextFactory getJAXBFactory(Object o)
           
static boolean isContextSupported(Object o)
           
protected abstract  boolean isFor(String str)
          Check to see if the BindingContextFactory is for the databinding mode/flavor.
protected abstract  BindingContext newContext(BindingInfo bi)
           
protected abstract  BindingContext newContext(JAXBContext context)
           
static 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 String DefaultDatabindingMode
See Also:
Constant Field Values

JAXB_CONTEXT_FACTORY_PROPERTY

public static final String JAXB_CONTEXT_FACTORY_PROPERTY

LOGGER

public static final Logger LOGGER
Constructor Detail

BindingContextFactory

public BindingContextFactory()
Method Detail

serviceIterator

public static Iterator<BindingContextFactory> serviceIterator()

newContext

protected abstract BindingContext newContext(JAXBContext context)

newContext

protected abstract BindingContext newContext(BindingInfo bi)

isFor

protected abstract boolean isFor(String str)
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(Marshaller m)
Deprecated. - Does jaxws need this?


create

public static BindingContext create(JAXBContext context)
                             throws DatabindingException
Throws:
DatabindingException

create

public static BindingContext create(BindingInfo bi)

isContextSupported

public static boolean isContextSupported(Object o)

getJAXBFactory

static BindingContextFactory getJAXBFactory(Object o)

getBindingContext

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



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