org.archive.hcc.util
Class NotificationDelegator

java.lang.Object
  extended by org.archive.hcc.util.Delegator
      extended by org.archive.hcc.util.NotificationDelegator
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationListener

public class NotificationDelegator
extends Delegator
implements javax.management.NotificationListener


Nested Class Summary
 
Nested classes/interfaces inherited from class org.archive.hcc.util.Delegator
Delegator.DelegatorPolicy
 
Field Summary
 
Fields inherited from class org.archive.hcc.util.Delegator
handlers, policy
 
Constructor Summary
NotificationDelegator()
           
NotificationDelegator(Delegator.DelegatorPolicy p)
           
 
Method Summary
 void addDelegatable(Delegatable d)
           
protected  boolean delegate(javax.management.Notification n, java.lang.Object handback)
           
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 
Methods inherited from class org.archive.hcc.util.Delegator
delegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationDelegator

public NotificationDelegator()

NotificationDelegator

public NotificationDelegator(Delegator.DelegatorPolicy p)
Method Detail

handleNotification

public void handleNotification(javax.management.Notification notification,
                               java.lang.Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener

delegate

protected boolean delegate(javax.management.Notification n,
                           java.lang.Object handback)

addDelegatable

public void addDelegatable(Delegatable d)
Overrides:
addDelegatable in class Delegator


Copyright © 2005-2008 The Internet Archive. All Rights Reserved.