|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventQueueProvider
Used to instantiate an event queue.
Method Summary | |
---|---|
EventQueue |
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 qeueue. |
Method Detail |
---|
EventQueue lookup(java.lang.String name, java.lang.String scope, boolean autoCreate)
Note:
Executions.getCurrent()
not null.EventQueueProviderImpl
is used.
To customize it, refer to EventQueues
.
name
- 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.
java.lang.IllegalStateException
- if not in an activated execution
java.lang.UnsupportedOperationException
- if the scope is not supportedboolean remove(java.lang.String name, java.lang.String scope)
name
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |