Package org.apache.camel
Interface ExecutorServiceAware
-
public interface ExecutorServiceAwareIs used for easy configuration ofExecutorService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutorServicegetExecutorService()Gets the executor serviceStringgetExecutorServiceRef()Gets the reference to lookup in theRegistryfor the executor service to be used.voidsetExecutorService(ExecutorService executorService)Sets the executor service to be used.voidsetExecutorServiceRef(String executorServiceRef)Sets a reference to lookup in theRegistryfor 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 theRegistryfor the executor service to be used.- Returns:
- the reference, or null if the executor was set directly
-
-