org.apache.camel
Interface IsSingleton

All Known Subinterfaces:
BrowsableEndpoint, Endpoint, Producer
All Known Implementing Classes:
AtomEndpoint, AtomProducer, BeanEndpoint, BeanLanguage, BrowseEndpoint, CacheEndpoint, CacheProducer, CollectionProducer, CometdEndpoint, CometdProducer, ConstantLanguage, CxfBeanEndpoint, CxfEndpoint, CxfProducer, CxfRsEndpoint, CxfRsProducer, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetEndpoint, DefaultAsyncProducer, DefaultEndpoint, DefaultPollingEndpoint, DefaultProducer, DelimitedEndpoint, DigitalSignatureEndpoint, DigitalSignatureProducer, DirectEndpoint, DirectProducer, EventEndpoint, ExecEndpoint, ExecProducer, FeedEndpoint, FileEndpoint, FixedLengthEndpoint, FreemarkerEndpoint, FtpEndpoint, FtpsEndpoint, GAuthEndpoint, GAuthProducer, GenericFileEndpoint, GenericFileProducer, GHttpEndpoint, GHttpProducer, GLoginEndpoint, GLoginProducer, GMailEndpoint, GMailProducer, GroovyLanguage, GTaskEndpoint, GTaskProducer, HeaderLanguage, HttpEndpoint, HttpEndpoint, HttpProducer, HttpProducer, IBatisEndpoint, IBatisProducer, InterceptSendToEndpoint, IrcEndpoint, IrcProducer, JavaSpaceEndpoint, JavaSpaceProducer, JcrEndpoint, JcrProducer, JdbcEndpoint, JdbcProducer, JettyHttpEndpoint, JettyHttpProducer, JmsEndpoint, JmsProducer, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JMXEndpoint, JpaEndpoint, JpaProducer, Jt400DataQueueEndpoint, Jt400DataQueueProducer, JXPathLanguage, LanguageEndpoint, LanguageProducer, LdapEndpoint, LdapProducer, LogEndpoint, LuceneEndpoint, LuceneIndexProducer, LuceneQueryProducer, MailEndpoint, MailProducer, MinaEndpoint, MinaProducer, MockEndpoint, MvelLanguage, NagiosEndpoint, NagiosProducer, NettyEndpoint, NettyProducer, OgnlLanguage, PrinterEndpoint, PrinterProducer, ProcessorEndpoint, PropertyLanguage, QuartzEndpoint, QuickfixjEndpoint, QuickfixjProducer, RemoteFileEndpoint, RemoteFileProducer, ResourceBasedEndpoint, RestletEndpoint, RestletProducer, RmiEndpoint, RmiProducer, RssEndpoint, ScheduledPollEndpoint, ScriptLanguage, SedaEndpoint, SedaProducer, ServletEndpoint, SftpEndpoint, SimpleLanguage, SimpleLanguageSupport, SipEndpoint, SipPublisher, SmppEndpoint, SmppProducer, SnmpEndpoint, SpringIntegrationEndpoint, SpringIntegrationProducer, SpringWebserviceEndpoint, SpringWebserviceProducer, SqlEndpoint, SqlLanguage, SqlProducer, StreamEndpoint, StreamProducer, StringTemplateEndpoint, SynchronousDelegateProducer, TestEndpoint, TimerEndpoint, TokenizeLanguage, UnitOfWorkProducer, VelocityEndpoint, XmppEndpoint, XmppGroupChatProducer, XmppPrivateChatProducer, 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: 18868 $

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

Method Detail

isSingleton

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

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


Apache CAMEL