JAXB Utilites to pool JAXBContext and related objects. Currently the JAXBContext is pooled by
Class name. We may change this to create and pool by package name.
Get a JAXBContext for the class
Parameters: contextPackage - Set Parameters: contructionType - (output value that indicates how the context was constructed) JAXBContext throws: JAXBException -
Get the unmarshaller. You must call releaseUnmarshaller to put it back into the pool
Parameters: context - JAXBContext Unmarshaller throws: JAXBException -
Release JAXBIntrospector Do not call this method if an exception occurred while using the
JAXBIntrospector. We object my be in an invalid state.
Parameters: context - JAXBContext Parameters: introspector - JAXBIntrospector
releaseJAXBMarshalller Do not call this method if an exception occurred while using the
Marshaller. We object my be in an invalid state.
Parameters: context - JAXBContext Parameters: marshaller - Marshaller
Release Unmarshaller Do not call this method if an exception occurred while using the
Unmarshaller. We object my be in an invalid state.
Parameters: context - JAXBContext Parameters: unmarshaller - Unmarshaller