Class NamingStoreService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<ServiceBasedNamingStore>, org.jboss.msc.value.Value<ServiceBasedNamingStore>

    public class NamingStoreService
    extends Object
    implements org.jboss.msc.service.Service<ServiceBasedNamingStore>
    Service responsible for managing the creation and life-cycle of a service based naming store.
    Author:
    John E. Bailey, Stuart Douglas, Eduardo Martins
    • Constructor Detail

      • NamingStoreService

        public NamingStoreService()
      • NamingStoreService

        public NamingStoreService​(boolean readOnly)
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Creates the naming store if not provided by the constructor.
        Specified by:
        start in interface org.jboss.msc.Service
        Parameters:
        context - The start context
        Throws:
        org.jboss.msc.service.StartException - If any problems occur creating the context
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Destroys the naming store.
        Specified by:
        stop in interface org.jboss.msc.Service
        Parameters:
        context - The stop context