Class WritableServiceBasedNamingStore

    • Constructor Detail

      • WritableServiceBasedNamingStore

        public WritableServiceBasedNamingStore​(org.jboss.msc.service.ServiceRegistry serviceRegistry,
                                               org.jboss.msc.service.ServiceName serviceNameBase,
                                               org.jboss.msc.service.ServiceTarget serviceTarget)
    • Method Detail

      • bind

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

        public void bind​(Name name,
                         Object object)
                  throws NamingException
        Description copied from interface: WritableNamingStore
        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.
        Specified by:
        bind in interface WritableNamingStore
        Parameters:
        name - The entry name
        object - The entry object
        Throws:
        NamingException - If any problems occur
      • rebind

        public void rebind​(Name name,
                           Object object)
                    throws NamingException
        Description copied from interface: WritableNamingStore
        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.
        Specified by:
        rebind in interface WritableNamingStore
        Parameters:
        name - The entry name
        object - The entry object
        Throws:
        NamingException - If any problems occur
      • rebind

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

        public static void pushOwner​(org.jboss.msc.service.ServiceName deploymentUnitServiceName)
      • pushOwner

        public static void pushOwner​(org.jboss.msc.service.ServiceTarget serviceTarget)
      • popOwner

        public static void popOwner()