com.ibm.websphere.asynchbeans
Interface AsynchScopeManager
All Superinterfaces:
All known subinterfaces:
- public interface AsynchScopeManager
- extends EventSource
Field Summary
Fields inherited from interface com.ibm.websphere.asynchbeans.EventSource |
---|
APPLICATION_NOTIFICATION_EVENT_SOURCE, MAX_LISTENER_SEQUENCE_VALUE, MIN_LISTENER_SEQUENCE_VALUE |
Method Summary
Modifier and Type | Method and Description |
---|---|
createAsynchScope(java.lang.String name)
This creates a new asynch bean with the given name.
|
|
findAsynchScope(java.lang.String name)
This returns the asynch bean with a given name or null if
it doesn't exist.
|
|
findOrCreateAsynchScope(java.lang.String name)
This returns the asynch bean with a given name or creates it if
it doesn't exist.
|
Methods inherited from interface com.ibm.websphere.asynchbeans.EventSource |
---|
addListener, addListener, getEventTrigger, getEventTrigger, removeListener |
Method Detail
createAsynchScope
- AsynchScope createAsynchScope(java.lang.String name)
- throws javax.ejb.DuplicateKeyException
This creates a new asynch bean with the given name. If a bean
already exists with the same name then an exception is thrown.
Parameters:
name
- The unique name of the new bean. Returns:
The new asynch bean
Throws:
javax.ejb.DuplicateKeyException
- This is thrown is a bean already
exists with the same name. findAsynchScope
- AsynchScope findAsynchScope(java.lang.String name)
This returns the asynch bean with a given name or null if
it doesn't exist.
Parameters:
name
- The name of the bean to retrieve. Returns:
The named bean or null if it doesn't exist.
findOrCreateAsynchScope
- AsynchScope findOrCreateAsynchScope( java.lang.String name)
This returns the asynch bean with a given name or creates it if
it doesn't exist.
Parameters:
name
- The name of the bean to retrieve/create. Returns:
The named bean.