Class JAXBBlockContext
- java.lang.Object
-
- org.apache.axis2.datasource.jaxb.JAXBDSContext
-
- org.apache.axis2.jaxws.message.databinding.JAXBBlockContext
-
public class JAXBBlockContext extends JAXBDSContext
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.datasource.jaxb.JAXBDSContext
DEBUG_ENABLED
-
-
Constructor Summary
Constructors Constructor Description JAXBBlockContext(String contextPackage)
Deprecated.JAXBBlockContext(TreeSet<String> packages)
Slightly slower constructorJAXBBlockContext(TreeSet<String> packages, String packagesKey)
Full Constructor JAXBBlockContext (most performant)JAXBBlockContext(JAXBContext jaxbContext)
"Dispatch" Constructor Use this full constructor when the JAXBContent is provided by the customer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AttachmentContext
createAttachmentContext()
ClassLoader
getClassLoader()
Message
getMessage()
MessageContext
getMessageContext()
void
setMessage(Message message)
-
Methods inherited from class org.apache.axis2.datasource.jaxb.JAXBDSContext
getConstructionType, getContextPackages, getJAXBContext, getJAXBContext, getJAXBContext, getProcessType, isxmlList, marshal, setIsxmlList, setMessageContext, setProcessType, setWebServiceNamespace, unmarshal, unmarshalAsListOrArray, unmarshalByElement, unmarshalByType
-
-
-
-
Constructor Detail
-
JAXBBlockContext
public JAXBBlockContext(TreeSet<String> packages, String packagesKey)
Full Constructor JAXBBlockContext (most performant)- Parameters:
packages
- Set of packages needed by the JAXBContext.
-
JAXBBlockContext
public JAXBBlockContext(TreeSet<String> packages)
Slightly slower constructor- Parameters:
packages
-
-
JAXBBlockContext
public JAXBBlockContext(String contextPackage)
Deprecated.Normal Constructor JAXBBlockContext- Parameters:
contextPackage
-
-
JAXBBlockContext
public JAXBBlockContext(JAXBContext jaxbContext)
"Dispatch" Constructor Use this full constructor when the JAXBContent is provided by the customer.- Parameters:
jaxbContext
-
-
-
Method Detail
-
getMessage
public Message getMessage()
-
setMessage
public void setMessage(Message message)
-
createAttachmentContext
protected AttachmentContext createAttachmentContext()
- Overrides:
createAttachmentContext
in classJAXBDSContext
-
getClassLoader
public ClassLoader getClassLoader()
- Overrides:
getClassLoader
in classJAXBDSContext
-
getMessageContext
public MessageContext getMessageContext()
- Overrides:
getMessageContext
in classJAXBDSContext
-
-