Interface WritableNamingStore

    • Method Detail

      • bind

        void bind​(Name name,
                  Object object)
           throws NamingException
        Bind and object into the naming store, creating parent contexts if needed. All parent contexts must be created before this can be executed. The bind object type will be determined by the class of the object being passed in.
        Parameters:
        name - The entry name
        object - The entry object
        Throws:
        NamingException - If any problems occur
      • bind

        void bind​(Name name,
                  Object object,
                  Class<?> bindType)
           throws NamingException
        Bind and object into the naming store, creating parent contexts if needed. All parent contexts must be created before this can be executed.
        Parameters:
        name - The entry name
        object - The entry object
        bindType - The entry class
        Throws:
        NamingException - If any problems occur
      • rebind

        void rebind​(Name name,
                    Object object)
             throws NamingException
        Re-bind and object into the naming store. All parent contexts must be created before this can be executed. The bind object type will be determined by the class of the object being passed in.
        Parameters:
        name - The entry name
        object - The entry object
        Throws:
        NamingException - If any problems occur
      • rebind

        void rebind​(Name name,
                    Object object,
                    Class<?> bindType)
             throws NamingException
        Re-bind and object into the naming store. All parent contexts must be created before this can be executed.
        Parameters:
        name - The entry name
        object - The entry object
        bindType - The entry class
        Throws:
        NamingException - If any problems occur
      • unbind

        void unbind​(Name name)
             throws NamingException
        Unbind an object from the naming store. An entry for the name must exist.
        Parameters:
        name - The entry name
        Throws:
        NamingException - If any problems occur
      • createSubcontext

        Context createSubcontext​(Name name)
                          throws NamingException
        Create a sub-context for the provided name.
        Parameters:
        name - The entry name
        Returns:
        The new sub-context
        Throws:
        NamingException - If any errors occur