Constructor and Description |
---|
ExecutorEventMgr() |
Modifier and Type | Method and Description |
---|---|
void |
fireEvent(Name fullName,
Binding oldb,
Binding newb,
int type,
String changeInfo,
EventListeners listeners,
Set<Integer> scopes)
Dispatch an event to the listeners.
|
Executor |
getExecutor() |
void |
setExecutor(Executor executor) |
public Executor getExecutor()
public void setExecutor(Executor executor)
public void fireEvent(Name fullName, Binding oldb, Binding newb, int type, String changeInfo, EventListeners listeners, Set<Integer> scopes)
EventMgr
fireEvent
in interface EventMgr
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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.