com.sun.appserv.management.base
Interface NotificationServiceMgr

All Superinterfaces:
AMX, AMXMBeanLogging, Container, NotificationBroadcaster, NotificationEmitter, Utility

public interface NotificationServiceMgr
extends AMX, Utility, Container

Manages the creation and removal of NotificationService MBeans.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Method Summary
 NotificationService createNotificationService(Object userData, int bufferSize)
          Create a new NotificationService (j2eeType=XTypes.NOTIFICATION_SERVICE).
 NotificationService getNotificationService(String name)
          Get the specified NotificationService.
 Map<String,NotificationService> getNotificationServiceMap()
           
 void removeNotificationService(String name)
          Remove the specified NotificationService.
 
Methods inherited from interface com.sun.appserv.management.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getNotificationServiceMap

Map<String,NotificationService> getNotificationServiceMap()
Returns:
Map of all NotificationService keyed by name

getNotificationService

NotificationService getNotificationService(String name)
Get the specified NotificationService.

Parameters:
name -

createNotificationService

NotificationService createNotificationService(Object userData,
                                              int bufferSize)
Create a new NotificationService (j2eeType=XTypes.NOTIFICATION_SERVICE). AMX.getName() can later be used to retrieve the NotificationService via getNotificationService(java.lang.String).

Parameters:
userData -
bufferSize -
Returns:
NotificationService

removeNotificationService

void removeNotificationService(String name)
                               throws InstanceNotFoundException
Remove the specified NotificationService.

Parameters:
name -
Throws:
InstanceNotFoundException