public interface MonitoringService
extends org.glassfish.api.admin.config.ConfigExtension, org.jvnet.hk2.config.types.PropertyBag
| Modifier and Type | Interface and Description |
|---|---|
static class |
MonitoringService.Duck |
| Modifier and Type | Field and Description |
|---|---|
static com.sun.enterprise.util.LocalStringManagerImpl |
localStrings |
| Modifier and Type | Method and Description |
|---|---|
List<org.glassfish.api.monitoring.ContainerMonitoring> |
getContainerMonitoring()
Get the monitoring configuration for containers that used the default
ContainerMonitoring.
|
org.glassfish.api.monitoring.ContainerMonitoring |
getContainerMonitoring(String name)
Return the monitoring configuration for a container by the provided name,
assuming the named container used the default ContainerMonitoring to
express its monitoring configuration.
|
String |
getDtraceEnabled()
Gets the value of the dtrace-enabled attribute.
|
String |
getMbeanEnabled()
Gets the value of the mbean-enabled attribute.
|
ModuleMonitoringLevels |
getModuleMonitoringLevels()
Gets the value of the moduleMonitoringLevels property.
|
String |
getMonitoringEnabled()
Gets the value of the monitoring-enabled attribute.
|
List<org.glassfish.api.monitoring.MonitoringItem> |
getMonitoringItems()
Get the monitoring configuration for other types of containers that used
custom monitoring configuration.
|
String |
getMonitoringLevel(String name) |
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per
PropertyBag |
boolean |
isAnyModuleOn() |
void |
setDtraceEnabled(String value)
Sets the value of the dtrace-enabled attribute.
|
void |
setMbeanEnabled(String value)
Sets the value of the mbean-enabled attribute.
|
void |
setModuleMonitoringLevels(ModuleMonitoringLevels value)
Sets the value of the moduleMonitoringLevels property.
|
void |
setMonitoringEnabled(String value)
Sets the value of the monitoring-enabled attribute.
|
void |
setMonitoringLevel(String name,
String level) |
@NotNull ModuleMonitoringLevels getModuleMonitoringLevels()
ModuleMonitoringLevelsvoid setModuleMonitoringLevels(ModuleMonitoringLevels value) throws PropertyVetoException
value - allowed object is
ModuleMonitoringLevelsPropertyVetoException@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBaggetProperty in interface org.jvnet.hk2.config.types.PropertyBagString getMbeanEnabled()
void setMbeanEnabled(String value) throws PropertyVetoException
value - allowed object is a StringPropertyVetoExceptionString getMonitoringEnabled()
void setMonitoringEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDtraceEnabled()
void setDtraceEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionList<org.glassfish.api.monitoring.ContainerMonitoring> getContainerMonitoring()
List<org.glassfish.api.monitoring.MonitoringItem> getMonitoringItems()
@DuckTyped org.glassfish.api.monitoring.ContainerMonitoring getContainerMonitoring(String name)
name - name of the container to return the configuration for@DuckTyped boolean isAnyModuleOn()
Copyright © 2013. All Rights Reserved.