Class AbstractModuleContext

  • All Implemented Interfaces:
    org.brijframework.context.Context, org.brijframework.context.module.ModuleContext, org.brijframework.lifecycle.Initializer

    public abstract class AbstractModuleContext
    extends AbstractContext
    implements org.brijframework.context.module.ModuleContext
    • Constructor Detail

      • AbstractModuleContext

        public AbstractModuleContext()
    • Method Detail

      • initialize

        public void initialize​(org.brijframework.context.Context context)
        Specified by:
        initialize in interface org.brijframework.context.Context
        Overrides:
        initialize in class AbstractContext
      • getParent

        public org.brijframework.context.Context getParent()
        Specified by:
        getParent in interface org.brijframework.context.Context
        Overrides:
        getParent in class AbstractContext
      • getContainers

        public ConcurrentHashMap<Object,​org.brijframework.container.module.ModuleContainer> getContainers()
        Specified by:
        getContainers in interface org.brijframework.context.module.ModuleContext
      • start

        public void start()
        Specified by:
        start in interface org.brijframework.context.Context
      • stop

        public void stop()
        Specified by:
        stop in interface org.brijframework.context.Context
      • loadContainer

        protected void loadContainer​(Class<? extends org.brijframework.container.module.ModuleContainer> cls)
      • invokeFactoryMethod

        protected boolean invokeFactoryMethod​(Class<? extends org.brijframework.container.module.ModuleContainer> cls)
      • invokeInstanceMethod

        protected void invokeInstanceMethod​(Class<? extends org.brijframework.container.module.ModuleContainer> cls)
      • destoryContainer

        protected void destoryContainer​(Class<? extends org.brijframework.container.Container> cls)
      • getClassList

        protected LinkedHashSet<Class<? extends org.brijframework.container.module.ModuleContainer>> getClassList()
      • register

        protected void register​(Class<? extends org.brijframework.container.module.ModuleContainer> container)