org.jnp.server
Class EventListeners

java.lang.Object
  extended by org.jnp.server.EventListeners

public class EventListeners
extends Object

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Constructor Summary
EventListeners(EventContext context)
           
 
Method Summary
 void addNamingListener(EventContext context, Name target, int scope, NamingListener l)
           
 void dispatch(NamingListener listener, NamingEvent event)
           
 void fireEvent(Name fullName, Binding oldb, Binding newb, int type, String changeInfo, Set<Integer> scopes)
           
 void removeNamingListener(NamingListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListeners

public EventListeners(EventContext context)
Method Detail

addNamingListener

public void addNamingListener(EventContext context,
                              Name target,
                              int scope,
                              NamingListener l)
                       throws NamingException
Throws:
NamingException

removeNamingListener

public void removeNamingListener(NamingListener l)

fireEvent

public void fireEvent(Name fullName,
                      Binding oldb,
                      Binding newb,
                      int type,
                      String changeInfo,
                      Set<Integer> scopes)

dispatch

public void dispatch(NamingListener listener,
                     NamingEvent event)


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.