Package org.apache.camel
Interface ExecutorServiceAware
-
public interface ExecutorServiceAware
Is used for easy configuration ofExecutorService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutorService
getExecutorService()
Gets the executor serviceString
getExecutorServiceRef()
Gets the reference to lookup in theRegistry
for the executor service to be used.void
setExecutorService(ExecutorService executorService)
Sets the executor service to be used.void
setExecutorServiceRef(String executorServiceRef)
Sets a reference to lookup in theRegistry
for the executor service to be used.
-
-
-
Method Detail
-
getExecutorService
ExecutorService getExecutorService()
Gets the executor service- Returns:
- the executor
-
setExecutorService
void setExecutorService(ExecutorService executorService)
Sets the executor service to be used.- Parameters:
executorService
- the executor
-
getExecutorServiceRef
String getExecutorServiceRef()
Gets the reference to lookup in theRegistry
for the executor service to be used.- Returns:
- the reference, or null if the executor was set directly
-
-