Class Context.ContextState<ABSTRACT_SESSION extends CoreAbstractSession,​DESCRIPTOR extends Descriptor,​PROJECT extends CoreProject,​SESSION extends CoreSession,​SESSION_EVENT_LISTENER extends CoreSessionEventListener>

    • Constructor Detail

      • ContextState

        protected ContextState()
      • ContextState

        protected ContextState​(Context context,
                               PROJECT project,
                               java.lang.ClassLoader classLoader,
                               java.util.Collection<SESSION_EVENT_LISTENER> sessionEventListeners)
    • Method Detail

      • addDescriptorByQName

        public void addDescriptorByQName​(javax.xml.namespace.QName qName,
                                         DESCRIPTOR descriptor)
      • preLogin

        protected void preLogin​(PROJECT project,
                                java.lang.ClassLoader classLoader)
      • getSession

        protected SESSION getSession()
      • getSession

        protected ABSTRACT_SESSION getSession​(java.lang.Class clazz)
        INTERNAL: Return the session corresponding to this class. Since the class may be mapped by more that one of the projects used to create the Context, this method will return the first match.
      • getSession

        protected ABSTRACT_SESSION getSession​(DESCRIPTOR descriptor)
        INTERNAL: Return the session corresponding to this Descriptor. Since the class may be mapped by more that one of the projects used to create the Context, this method will return the first match.
      • getSession

        protected ABSTRACT_SESSION getSession​(java.lang.Object object)
        INTERNAL: Return the session corresponding to this object. Since the object may be mapped by more that one of the projects used to create the Context, this method will return the first match.
      • setupSession

        protected void setupSession​(SESSION session)
      • storeDescriptorByQName

        public void storeDescriptorByQName​(DESCRIPTOR descriptor,
                                           CorePlatform platform,
                                           java.util.Set<DESCRIPTOR> processedDescriptors)
        INTERNAL:
      • storeDescriptorsByQName

        public void storeDescriptorsByQName​(CoreSession session)