FileDocCategorySizeDatePackage
DomainRoot.javaAPI DocGlassfish v2 API7096Fri May 04 22:30:30 BST 2007com.sun.appserv.management

DomainRoot

public interface DomainRoot implements Container
The top-level interface for an appserver domain. Access to all other {@link AMX} begins here.

Fields Summary
public static final String
J2EE_TYPE
public static final String
AMX_READY_NOTIFICATION_TYPE
Notification type for JMX Notification issued when AMX MBeans are loaded and ready for use.
Constructors Summary
Methods Summary
public booleangetAMXReady()
Poll to see if AMX is ready for use. It is more efficient to instead listen for a Notification of type {@link #AMX_READY_NOTIFICATION_TYPE}. That should be done by first registering the listener, then checking just after registration in case the Notification was issued in the ensuing interval just before the listener became registered.

return
true if AMX is ready for use, false otherwise.
see
#AMX_READY_NOTIFICATION_TYPE

public java.lang.StringgetAppserverDomainName()
Return the name of this appserver domain. Not to be confused with the JMX domain name, which may be derived from this name and is available from any ObjectName in AMX by calling {@link Util#getObjectName} The domain name is equivalent to the name of the directory containing the domain configuration. This name is not part of the configuration and can only be changed by using a different directory to house the configuration for the domain.

return
the name of the Appserver domain

public BulkAccessgetBulkAccess()

return
the singleton {@link BulkAccess}.

public com.sun.appserv.management.config.ConfigDottedNamesgetConfigDottedNames()

return
the singleton {@link ConfigDottedNames}.

public com.sun.appserv.management.deploy.DeploymentMgrgetDeploymentMgr()

return
the singleton {@link DeploymentMgr}.

public com.sun.appserv.management.config.DomainConfiggetDomainConfig()

return
the singleton DomainConfig

public NotificationEmitterServicegetDomainNotificationEmitterService()
Get the NotificationEmitterService whose name is {@link NotificationEmitterServiceKeys#DOMAIN_KEY}. Same as calling getNotificationEmitterServiceMap().get( DOMAIN_KEY ).

return
the singleton {@link NotificationEmitterService}.

public com.sun.appserv.management.j2ee.J2EEDomaingetJ2EEDomain()

return
the JSR 77 J2EEDomain.

public com.sun.appserv.management.monitor.JMXMonitorMgrgetJMXMonitorMgr()

return
the singleton JMXMonitorMgr

public java.util.MapgetLoadBalancerMap()
Get all the {@link LoadBalancer} instances

return
Map of items, keyed by name.
see
LoadBalancer
see
com.sun.appserv.management.config.LoadBalancerConfig
since
AppServer 9.0

public com.sun.appserv.management.monitor.MonitoringDottedNamesgetMonitoringDottedNames()

return
the singleton {@link MonitoringDottedNames}

public com.sun.appserv.management.monitor.MonitoringRootgetMonitoringRoot()

return
the singleton {@link MonitoringRoot}.

public java.util.MapgetNotificationEmitterServiceMap()
Get all {@link NotificationEmitterService} instances. Possible kinds include those defined in {@link NotificationEmitterServiceKeys}.

since
AppServer 9.0

public NotificationServiceMgrgetNotificationServiceMgr()
Get the NotificationServiceMgr

public QueryMgrgetQueryMgr()

return
the singleton {@link QueryMgr}.

public SystemInfogetSystemInfo()

return
the singleton SystemInfo

public com.sun.appserv.management.ext.update.UpdateStatusgetUpdateStatus()
Contacts Update Center Server and get the updates status.

public UploadDownloadMgrgetUploadDownloadMgr()

return
the singleton {@link UploadDownloadMgr}.

public com.sun.appserv.management.ext.wsmgmt.WebServiceMgrgetWebServiceMgr()

return
the singleton WebServiceMgr for this domain.
since
AppServer 9.0

public voidwaitAMXReady()
Wait (block) until AMX is ready for use. Upon return, AMX is ready for use.