FileDocCategorySizeDatePackage
DomainRootTest.javaAPI DocGlassfish v2 API4338Fri May 04 22:23:50 BST 2007com.sun.enterprise.management

DomainRootTest

public final class DomainRootTest extends AMXTestBase

Fields Summary
Constructors Summary
public DomainRootTest()

	
Methods Summary
public voidtestAMXReady()

	    final DomainRoot    domainRoot  = getDomainRoot();
	    
	    while ( ! domainRoot.getAMXReady() )
	    {
	        mySleep( 10 );
	    }
	
public voidtestGetConfigDottedNames()

	    if ( checkNotOffline( "testGetConfigDottedNames" ) )
	    {
		    assert( getDomainRoot().getConfigDottedNames() != null );
	    }
	
public voidtestGetDeploymentMgr()

		assert( getDomainRoot().getDeploymentMgr() != null );
	
public voidtestGetDomain()

		getDomainRoot();
	
public voidtestGetDomainNotificationEmitterService()

		assert( getDomainRoot().getDomainNotificationEmitterService() != null );
	
public voidtestGetDomainNotificationEmitterServiceMap()

	    final Map<String,NotificationEmitterService> services    =
	        getDomainRoot().getNotificationEmitterServiceMap();
		assert( services != null );
		
		for( NotificationEmitterService s : services.values() )
		{
		    s.getListenerCount();
		}
	
public voidtestGetMonitoringDottedNames()

	    if ( checkNotOffline( "testGetConfigDottedNames" ) )
	    {
		    assert( getDomainRoot().getMonitoringDottedNames() != null );
		}
	
public voidtestWaitAMXReady()

	    final DomainRoot    domainRoot  = getDomainRoot();
	    
	    domainRoot.waitAMXReady();