Class ContextManagerImpl

    • Constructor Detail

      • ContextManagerImpl

        public ContextManagerImpl()
    • Method Detail

      • hasContext

        public boolean hasContext​(Class<? extends Annotation> scope)
        Indicates whether or not a context has a been registered for the given scope
        Specified by:
        hasContext in interface ContextManager
        Parameters:
        scope - the scope of the context
        Returns:
        true if it exists a context for the given scope, false otherwise
      • addContexts

        public void addContexts​(ContextPlugin plugin)
        Adds all the contexts defined in the given plugin