Class HttpRemoteNamingServerService

java.lang.Object
org.jboss.as.naming.remote.HttpRemoteNamingServerService
All Implemented Interfaces:
Service, Service<HttpRemoteNamingServerService>, Value<HttpRemoteNamingServerService>

public class HttpRemoteNamingServerService extends Object implements Service<HttpRemoteNamingServerService>
Author:
Stuart Douglas
  • Field Details

  • Constructor Details

    • HttpRemoteNamingServerService

      public HttpRemoteNamingServerService()
  • Method Details

    • start

      public void start(StartContext startContext) throws StartException
      Description copied from interface: Service
      Start the service. Do not return until the service has been fully started, unless an asynchronous service start is performed. All injections will be complete before this method is called.

      If the service start involves any activities that may block, the asynchronous mechanism provided by the context should be used. See the class javadoc for details.

      Specified by:
      start in interface Service
      Parameters:
      startContext - the context which can be used to trigger an asynchronous service start
      Throws:
      StartException - if the service could not be started for some reason
    • stop

      public void stop(StopContext stopContext)
      Description copied from interface: Service
      Stop the service. Do not return until the service has been fully stopped, unless an asynchronous service stop is performed. All injections will remain intact until the service is fully stopped. This method should not throw an exception.

      If the service start involves any activities that may block, the asynchronous mechanism provided by the context should be used. See the class javadoc for details.

      Specified by:
      stop in interface Service
      Parameters:
      stopContext - the context which can be used to trigger an asynchronous service stop
    • getValue

      Description copied from interface: Value
      Get the actual dependency value.
      Specified by:
      getValue in interface Value<HttpRemoteNamingServerService>
      Returns:
      the actual dependency value
      Throws:
      IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.
      IllegalArgumentException - when the value cannot be read due to misconfiguration
    • getPathHandlerInjectedValue

      public InjectedValue<PathHandler> getPathHandlerInjectedValue()
    • getNamingStore

      public InjectedValue<NamingStore> getNamingStore()