com.ibm.websphere.asynchbeans

Interface WorkListener

  • All Superinterfaces:
    java.util.EventListener

    Deprecated. 
    Interfaces for work and work management are replaced by ManagedExecutorService and related interfaces.

    @Deprecated
    public interface WorkListener
    extends java.util.EventListener
    This is a callback interface called to report on the dispatching of a Work. It is implemented by the application and supplied to startWork methods on a WorkManager.
    See Also:
    javax.enterprise.concurrent.ManagedExecutorService, WorkManager
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void workAccepted(WorkEvent we)
      Deprecated. 
      This is called when the Work is accepted for dispatching.
      void workCompleted(WorkEvent we)
      Deprecated. 
      This is called once Work.run returns.
      void workRejected(WorkEvent we)
      Deprecated. 
      This is called when the Work cannot be processed prior to starting but after accept.
      void workStarted(WorkEvent we)
      Deprecated. 
      This is called when the Work is about to start.
    • Method Detail

      • workAccepted

        void workAccepted(WorkEvent we)
        Deprecated. 
        This is called when the Work is accepted for dispatching.
      • workRejected

        void workRejected(WorkEvent we)
        Deprecated. 
        This is called when the Work cannot be processed prior to starting but after accept.
      • workStarted

        void workStarted(WorkEvent we)
        Deprecated. 
        This is called when the Work is about to start. When this returns the Work.run is called.
      • workCompleted

        void workCompleted(WorkEvent we)
        Deprecated. 
        This is called once Work.run returns.
IBM WebSphere Application ServerTM
Release 9.0