public class LoggingConfigurationService extends Object implements org.jboss.msc.service.Service<org.jboss.logmanager.config.LogContextConfiguration>
Constructor and Description |
---|
LoggingConfigurationService(org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration,
String configuration) |
Modifier and Type | Method and Description |
---|---|
static org.jboss.msc.service.ServiceName |
forDeployment(PathAddress address)
Create the service name used for this service on a deployment.
|
String |
getConfiguration()
Returns an identifier for the configuration being used.
|
org.jboss.logmanager.config.LogContextConfiguration |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public LoggingConfigurationService(org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration, String configuration)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<org.jboss.logmanager.config.LogContextConfiguration>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<org.jboss.logmanager.config.LogContextConfiguration>
public org.jboss.logmanager.config.LogContextConfiguration getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<org.jboss.logmanager.config.LogContextConfiguration>
IllegalStateException
IllegalArgumentException
public String getConfiguration()
This will be used as the value for the address of a deployment resource.
public static org.jboss.msc.service.ServiceName forDeployment(PathAddress address)
address
- the deployments addressCopyright © 2023 JBoss by Red Hat. All rights reserved.