org.apache.camel
Interface ExecutorServiceAware

All Known Subinterfaces:
ExecutorServiceAwareDefinition<Type>
All Known Implementing Classes:
AggregateDefinition, DelayDefinition, MulticastDefinition, OnCompletionDefinition, RecipientListDefinition, SplitDefinition, ThreadsDefinition, ThrottleDefinition, WireTapDefinition

public interface ExecutorServiceAware

Is used for easy configuration of ExecutorService.

Version:

Method Summary
 ExecutorService getExecutorService()
          Gets the executor service
 String getExecutorServiceRef()
          Gets the reference to lookup in the Registry 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 the Registry 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 the Registry for the executor service to be used.

Returns:
the reference, or null if the executor was set directly

setExecutorServiceRef

void setExecutorServiceRef(String executorServiceRef)
Sets a reference to lookup in the Registry for the executor service to be used.

Parameters:
executorServiceRef - reference for the executor


Apache CAMEL