com.sun.grid.jgdi.management
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 EventListener
public javax.management.MBeanNotificationInfo[] getMBeanNotificationInfo()
public void removeNotificationListener(javax.management.NotificationListener listener) throws JGDIException, javax.management.ListenerNotFoundException
JGDIException
javax.management.ListenerNotFoundException
public void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws JGDIException
JGDIException
public java.util.Set<EventTypeEnum> getSubscription() throws JGDIException
JGDIException
public void setSubscription(java.util.Set<EventTypeEnum> types) throws JGDIException
JGDIException
public void subscribe(EventTypeEnum type) throws JGDIException
JGDIException
public void unsubscribe(EventTypeEnum type) throws JGDIException
JGDIException
public void subscribe(java.util.Set<EventTypeEnum> types) throws JGDIException
JGDIException
public void unsubscribe(java.util.Set<EventTypeEnum> types) throws JGDIException
JGDIException
public void close()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.