public class NotificationBridge extends java.lang.Object implements EventListener
| Constructor and Description |
|---|
NotificationBridge(java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
void |
close()
Close the event notification bridge
The JGDI event client will be stopped.
|
void |
eventOccured(Event evt) |
javax.management.MBeanNotificationInfo[] |
getMBeanNotificationInfo() |
java.util.Set<EventTypeEnum> |
getSubscription() |
void |
removeNotificationListener(javax.management.NotificationListener listener) |
void |
setSubscription(java.util.Set<EventTypeEnum> types) |
void |
subscribe(EventTypeEnum type) |
void |
subscribe(java.util.Set<EventTypeEnum> types) |
void |
unsubscribe(EventTypeEnum type) |
void |
unsubscribe(java.util.Set<EventTypeEnum> types) |
public void eventOccured(Event evt)
eventOccured in interface EventListenerpublic javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
public void removeNotificationListener(javax.management.NotificationListener listener)
throws JGDIException,
javax.management.ListenerNotFoundException
JGDIExceptionjavax.management.ListenerNotFoundExceptionpublic void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws JGDIException
JGDIExceptionpublic java.util.Set<EventTypeEnum> getSubscription() throws JGDIException
JGDIExceptionpublic void setSubscription(java.util.Set<EventTypeEnum> types) throws JGDIException
JGDIExceptionpublic void subscribe(EventTypeEnum type) throws JGDIException
JGDIExceptionpublic void unsubscribe(EventTypeEnum type) throws JGDIException
JGDIExceptionpublic void subscribe(java.util.Set<EventTypeEnum> types) throws JGDIException
JGDIExceptionpublic void unsubscribe(java.util.Set<EventTypeEnum> types) throws JGDIException
JGDIExceptionpublic void close()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.