FileDocCategorySizeDatePackage
DomainStatusMBean.javaAPI DocGlassfish v2 API3392Fri May 04 22:24:10 BST 2007com.sun.enterprise.admin.mbeans

DomainStatusMBean

public interface DomainStatusMBean
Provides for determining the state of servers within the scope of this domain
author
Sreenivas Munnangi

Fields Summary
public static final String
DOMAIN_STATUS_STATE
attribute name for state
public static final String
DOMAIN_STATUS_PROPS
name of this mbean
public final String
SERVER_STATUS_NOTIFICATION_TYPE
type of the Notification emitted when the status of a server changes
public final String
SERVER_NAME_KEY
key within the Notification's Map of type SERVER_STATUS_NOTIFICATION_TYPE which yields the serverName
Constructors Summary
Methods Summary
public javax.management.MBeanServerConnectiongetServerMBeanServerConnection(java.lang.String serverName)
get the mBean server connection for the given server

public intgetstate(java.lang.String serverName)
get the current state of the given server

return
Integer the current value of the state

public voidsetstate(java.lang.String serverName, java.lang.Integer state)
set the current state of the given server