FileDocCategorySizeDatePackage
NotificationServiceMgrTest.javaAPI DocGlassfish v2 API3467Fri May 04 22:23:54 BST 2007com.sun.enterprise.management.base

NotificationServiceMgrTest

public final class NotificationServiceMgrTest extends com.sun.enterprise.management.AMXTestBase

Fields Summary
Constructors Summary
public NotificationServiceMgrTest()

	
Methods Summary
public static com.sun.enterprise.management.CapabilitiesgetCapabilities()

	    return getOfflineCapableCapabilities( true );
	
public voidtestCreateRemove()

		final NotificationServiceMgr	proxy	= getNotificationServiceMgr();
		
		final NotificationService	service	= proxy.createNotificationService( "test1", 512 );
		
		final ObjectName	objectName	= Util.getObjectName( service );
		
		proxy.removeNotificationService( service.getName() );
		assert( ! getConnection().isRegistered( objectName ) );
	
public voidtestGet()

		assert(  getNotificationServiceMgr() != null );