|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.mobicents.tools.SimpleGlobalLoggingConfiguration
public class SimpleGlobalLoggingConfiguration
| Field Summary |
|---|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
SimpleGlobalLoggingConfiguration(java.lang.String templatePath)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentProfile()
|
java.lang.String |
getLoggingConfiguration(java.lang.String profile)
|
java.util.Set<java.lang.String> |
listProfiles()
|
void |
setLoggingConfiguration(java.lang.String profile,
java.lang.String contents)
|
void |
switchLoggingConfiguration(java.lang.String newProfile)
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public SimpleGlobalLoggingConfiguration(java.lang.String templatePath)
| Method Detail |
|---|
public java.lang.String getCurrentProfile()
getCurrentProfile in interface SimpleGlobalLoggingConfigurationMBean
public java.lang.String getLoggingConfiguration(java.lang.String profile)
throws java.io.IOException
getLoggingConfiguration in interface SimpleGlobalLoggingConfigurationMBeanjava.io.IOException
public void setLoggingConfiguration(java.lang.String profile,
java.lang.String contents)
throws java.io.IOException
setLoggingConfiguration in interface SimpleGlobalLoggingConfigurationMBeanjava.io.IOExceptionpublic java.util.Set<java.lang.String> listProfiles()
listProfiles in interface SimpleGlobalLoggingConfigurationMBean
public void switchLoggingConfiguration(java.lang.String newProfile)
throws java.io.IOException
switchLoggingConfiguration in interface SimpleGlobalLoggingConfigurationMBeanjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||