Class ImmutableFederatedContext

    • Constructor Detail

      • ImmutableFederatedContext

        public ImmutableFederatedContext​(java.lang.String nameInNamespace,
                                         java.util.Set<javax.naming.Context> federatedContexts)
    • Method Detail

      • federateContext

        public void federateContext​(javax.naming.Context context)
                             throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • unfederateContext

        public void unfederateContext​(javax.naming.Context context)
                               throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getWrapperBindings

        protected java.util.Map<java.lang.String,​java.lang.Object> getWrapperBindings()
                                                                                     throws javax.naming.NamingException
        Specified by:
        getWrapperBindings in class AbstractFederatedContext
        Throws:
        javax.naming.NamingException
      • createNestedSubcontext

        public javax.naming.Context createNestedSubcontext​(java.lang.String path,
                                                           java.util.Map<java.lang.String,​java.lang.Object> bindings)
                                                    throws javax.naming.NamingException
        Description copied from interface: NestedContextFactory
        Creates a nested subcontext instance. This does not cause the nested context to be bound.
        Parameters:
        path - the path to the new nested context
        bindings - the initial bindings for the context
        Returns:
        the new nested context
        Throws:
        javax.naming.NamingException - on error