|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NotificationHandlerManagerMBean
Provides management of e-mail notification MBeans
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
ObjectName |
addNotificationHandler(String handlerName,
ObjectName targetMBeanObjectName)
Add a NotificationHandler MBean and returns its ObjectName Supported API: true |
ObjectName |
addNotificationHandler(String handlerName,
ObjectName targetMBeanObjectName,
boolean addIfNotExists)
Add a NotificationHandler MBean and returns its ObjectName Supported API: true |
String[] |
getNotificationHandlerNames()
Names of NotificationHandler MBeans registered with this manager Supported API: true |
void |
removeNotificationHandler(String handlerName)
Remove the NotificationHandler MBean with the given name Supported API: true |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Method Detail |
|---|
String[] getNotificationHandlerNames()
ObjectName addNotificationHandler(String handlerName,
ObjectName targetMBeanObjectName)
throws InstanceNotFoundException,
InstanceAlreadyExistsException,
IllegalArgumentException
handlerName - Name of new NotificationHandler, must be uniquetargetMBeanObjectName - ObjectName (or ObjectName pattern) of MBean(s) to listen to for notifications; handler is only created if at least one matching MBean is found, else an exception is thrown
InstanceNotFoundException
InstanceAlreadyExistsException
IllegalArgumentException
ObjectName addNotificationHandler(String handlerName,
ObjectName targetMBeanObjectName,
boolean addIfNotExists)
throws InstanceNotFoundException,
InstanceAlreadyExistsException,
IllegalArgumentException
handlerName - Name of new NotificationHandler, must be uniquetargetMBeanObjectName - ObjectName (or ObjectName pattern) of MBean(s) to listen to for notificationsaddIfNotExists - Whether to produce a notification handler or produce an exception when no MBean matching the specified 'targetMBeanObjectName' parameter is found
InstanceNotFoundException
InstanceAlreadyExistsException
IllegalArgumentExceptionvoid removeNotificationHandler(String handlerName)
handlerName - Name of new NotificationHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||