Class JAXBContext.JAXBContextInput

  • Enclosing class:
    JAXBContext

    public abstract static class JAXBContext.JAXBContextInput
    extends java.lang.Object
    The JAXBContextInput is used to create a JAXBContextState which is responsible for accessing the underlying XMLContext
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.ClassLoader classLoader  
      protected java.util.Map properties  
    • Constructor Summary

      Constructors 
      Constructor Description
      JAXBContextInput​(java.util.Map properties, java.lang.ClassLoader classLoader)
      Create a new JAXBContextInput with the specified Map of properties and ClassLoader.
    • Field Detail

      • properties

        protected java.util.Map properties
      • classLoader

        protected java.lang.ClassLoader classLoader
    • Constructor Detail

      • JAXBContextInput

        public JAXBContextInput​(java.util.Map properties,
                                java.lang.ClassLoader classLoader)
        Create a new JAXBContextInput with the specified Map of properties and ClassLoader.
        Parameters:
        properties - Map of properties.
        classLoader - the classLoader to use. If null then Thread.currentThread().getContextClassLoader() will be used.
    • Method Detail

      • createContextState

        protected abstract JAXBContext.JAXBContextState createContextState()
                                                                    throws javax.xml.bind.JAXBException
        Throws:
        javax.xml.bind.JAXBException
      • sessionEventListeners

        protected java.util.Collection<org.eclipse.persistence.sessions.SessionEventListener> sessionEventListeners()