Class LoggingConfigurationService

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

    public class LoggingConfigurationService
    extends Object
    implements org.jboss.msc.service.Service<org.jboss.logmanager.config.LogContextConfiguration>
    A service use to query the logging configuration for the deployment.
    Author:
    James R. Perkins
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
      • getConfiguration

        public String getConfiguration()
        Returns an identifier for the configuration being used.

        This will be used as the value for the address of a deployment resource.

        Returns:
        the configuration name