View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.api.context;
8   
9   import org.mule.api.lifecycle.Disposable;
10  import org.mule.api.lifecycle.Startable;
11  
12  import edu.emory.mathcs.backport.java.util.concurrent.Executor;
13  
14  /**
15   * <code>WorkManager</code> extends the standard JCA WorkManager with lifecycle
16   * methods and util.concurrent bridging.
17   */
18  public interface WorkManager extends javax.resource.spi.work.WorkManager, Startable, Disposable, Executor
19  {
20      /** Is the WorkManager ready to accept work? */
21      public boolean isStarted();
22      
23  }