public class EventQueueProviderImpl extends EventQueueProviderImpl
EventQueues.GROUP.ATTR_EVENT_QUEUES| Constructor and Description |
|---|
EventQueueProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Event> |
lookup(java.lang.String name,
java.lang.String scope,
boolean autoCreate)
Returns the event queue with the specified name in the
specified scope.
|
boolean |
remove(java.lang.String name,
java.lang.String scope)
Removes the event queue.
|
lookup, lookup, remove, removepublic <T extends Event> EventQueue<T> lookup(java.lang.String name, java.lang.String scope, boolean autoCreate)
EventQueueProviderNote:
Executions.getCurrent() not null.EventQueueProviderImpl is used.
To customize it, refer to EventQueues.
lookup in interface EventQueueProviderlookup in class EventQueueProviderImplname - the name of the event queue.scope - the scope of the event queue.
It must support EventQueues.DESKTOP and EventQueues.APPLICATION.
Developers might extend it to support other types of event queues.autoCreate - whether to create the event queue if not found.public boolean remove(java.lang.String name,
java.lang.String scope)
EventQueueProviderremove in interface EventQueueProviderremove in class EventQueueProviderImplname - the name of the event queue.scope - the scope of the event queue.
It must support EventQueues.DESKTOP and EventQueues.APPLICATION.
Developers might extend it to support other types of event queues.Copyright © 2005-2011 Potix Corporation. All Rights Reserved.