|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationFilterSupport
org.jboss.system.filterfactory.DeploymentInfoNotificationFilterFactory.DeploymentInfoNotificationFilter
A NotificationFilter that can filter Notifications that carry a DeploymentInfo payload in the UserData field. The Notification is filtered first on its type, then on its DeploymentInfo.shortName. Uses copy-on-write semantics for fast unsynchronized access.
Constructor Summary | |
DeploymentInfoNotificationFilterFactory.DeploymentInfoNotificationFilter()
Default CTOR. |
Method Summary | |
void |
disableAllShortNames()
Disable all shortNames. |
void |
disableShortName(String name)
Disable a shortName. |
void |
enableShortName(String name)
Enable a shortName. |
Vector |
getEnabledShortNames()
Get all the enabled short names. |
boolean |
isNotificationEnabled(javax.management.Notification notification)
Test to see whether this notification is enabled |
String |
toString()
|
Methods inherited from class org.jboss.mx.util.JBossNotificationFilterSupport |
disableAllTypes, disableType, enableType, getEnabledTypes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DeploymentInfoNotificationFilterFactory.DeploymentInfoNotificationFilter()
Method Detail |
public void disableAllShortNames()
public void disableShortName(String name)
name
- the shortName to disable.public void enableShortName(String name) throws IllegalArgumentException
name
- the shortName to enable.
IllegalArgumentException
- for a null name.public Vector getEnabledShortNames()
Returns a vector of enabled short names.
An empty vector means all short names disabled.
public String toString()
public boolean isNotificationEnabled(javax.management.Notification notification)
notification
- the notification to filter
IllegalArgumentException
- for null notification.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |