org.apache.camel
Interface IsSingleton

All Known Subinterfaces:
BrowsableEndpoint, Endpoint, Producer
All Known Implementing Classes:
BeanEndpoint, BeanLanguage, BrowseEndpoint, CollectionProducer, ConstantLanguage, DataSetEndpoint, DefaultEndpoint, DefaultPollingEndpoint, DefaultProducer, DirectEndpoint, DirectProducer, FileEndpoint, FileLanguage, GenericFileEndpoint, GenericFileProducer, HeaderLanguage, InterceptSendToEndpoint, LogEndpoint, MockEndpoint, ProcessorEndpoint, PropertyLanguage, ScheduledPollEndpoint, SedaEndpoint, SedaProducer, SimpleLanguage, SimpleLanguageSupport, TimerEndpoint, TokenizeLanguage, XPathLanguage

public interface IsSingleton

Used for defining if a given class is singleton or not. If the class is a Singleton, then a single instance will be shared. Because the class is shared, it should be treated as an immutable and be thread safe.

Version:
$Revision: 752893 $

Method Summary
 boolean isSingleton()
          Wheter this class supports being singleton or not.
 

Method Detail

isSingleton

boolean isSingleton()
Wheter this class supports being singleton or not.

Returns:
true to be a single shared instance, false to create new instances.


Apache CAMEL