org.glassfish.api.monitoring
Interface ContainerMonitoring

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, Named

public interface ContainerMonitoring
extends org.jvnet.hk2.config.ConfigBeanProxy, Named

Default monitoring configuration for containers. Containers can provide their configuration through the ContainerMonitoring interface.

Author:
Nandini Ektare, Byron Nevins (3.1+)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Field Summary
static String LEVEL_HIGH
           
static String LEVEL_LOW
           
static String LEVEL_OFF
           
 
Method Summary
 String getLevel()
          The monitoring level of this monitoring item
 void setLevel(String level)
          Set the level of this monitoring module
 
Methods inherited from interface org.glassfish.api.admin.config.Named
getName, setName
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 

Field Detail

LEVEL_OFF

static final String LEVEL_OFF
See Also:
Constant Field Values

LEVEL_LOW

static final String LEVEL_LOW
See Also:
Constant Field Values

LEVEL_HIGH

static final String LEVEL_HIGH
See Also:
Constant Field Values
Method Detail

getLevel

@NotNull
String getLevel()
The monitoring level of this monitoring item

Returns:
String with values HIGH/LOW/OFF

setLevel

void setLevel(String level)
              throws PropertyVetoException
Set the level of this monitoring module

Parameters:
level - new monitoring level
Throws:
PropertyVetoException


Copyright © 2012. All Rights Reserved.