org.apache.axis2.jaxws.utility
Interface ExecutorFactory

All Known Implementing Classes:
JAXWSExecutorFactory

public interface ExecutorFactory

This is the interface that should be implemented by classes that wish to provide Executor instances to the JAX-WS runtime. When the runtime needs an Executor instance it will look in the FactoryRegistry for an implementation of this factory and retrieve the instance.


Field Summary
static int CLIENT_EXECUTOR
           
static int SERVER_EXECUTOR
           
 
Method Summary
 java.util.concurrent.Executor getExecutorInstance()
           
 java.util.concurrent.Executor getExecutorInstance(int executorType)
           
 

Field Detail

CLIENT_EXECUTOR

static final int CLIENT_EXECUTOR
See Also:
Constant Field Values

SERVER_EXECUTOR

static final int SERVER_EXECUTOR
See Also:
Constant Field Values
Method Detail

getExecutorInstance

java.util.concurrent.Executor getExecutorInstance()
Returns:

getExecutorInstance

java.util.concurrent.Executor getExecutorInstance(int executorType)
Parameters:
executorType -
Returns:


Copyright © 2007 Apache Web Services Project. All Rights Reserved.