com.ibm.websphere.asynchbeans

Interface AsynchScopeManager

  • All Superinterfaces:
    EventSource
    All Known Subinterfaces:
    AsynchScope, WorkManager


    public interface AsynchScopeManager
    extends EventSource
    This interface is used for object which manage a set of child asynch beans. WorkManager and AsynchScope extend this interface. It allows new uniquely named asynch beans to be created and existing ones retrieved. It's also an EventSource.
    • 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.
IBM WebSphere Application ServerTM
Release 8.5