org.jnp.server
Interface EventMgr
- All Known Implementing Classes:
- ExecutorEventMgr
public interface EventMgr
A plugin for the manager which dispatches EventContext events to listeners
- Version:
- $Revision:$
- Author:
- Scott.Stark@jboss.org
- See Also:
ExecutorEventMgr}
fireEvent
void fireEvent(Name fullName,
Binding oldb,
Binding newb,
int type,
String changeInfo,
EventListeners listeners,
Set<Integer> scopes)
- Dispatch an event to the listeners.
- Parameters:
fullName - - the full path of name of the event locationoldb - - the possibly old binding of the eventnewb - - the possibly new binding of the eventtype - - one of NamingEvent.OBJECT_ADDED,
NamingEvent.OBJECT_CHANGED,
NamingEvent.OBJECT_REMOVED events.changeInfo - - the provider specific change information. The current
impl passes in the name of the operation that generated the event.listeners - - the list of NamingListener info for the EventContext
associated with the event.scopes - - a set of the EventContext scopes that apply.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.