org.apache.camel
Interface IsSingleton

All Known Subinterfaces:
BrowsableEndpoint, Endpoint, Producer
All Known Implementing Classes:
AhcEndpoint, AhcProducer, ApnsEndpoint, ApnsProducer, AtomEndpoint, AtomProducer, BeanEndpoint, BeanLanguage, BrowseEndpoint, CacheEndpoint, CacheProducer, CollectionProducer, CometdEndpoint, CometdProducer, ConstantLanguage, CxfBeanEndpoint, CxfBlueprintEndpoint, CxfEndpoint, CxfProducer, CxfRsBlueprintEndpoint, CxfRsEndpoint, CxfRsProducer, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetEndpoint, DefaultAsyncProducer, DefaultEndpoint, DefaultPollingEndpoint, DefaultProducer, DelimitedEndpoint, DigitalSignatureEndpoint, DigitalSignatureProducer, DirectEndpoint, DirectProducer, DnsDigEndpoint, DnsIpEndpoint, DnsLookupEndpoint, EventAdminEndpoint, EventAdminProducer, EventEndpoint, ExecEndpoint, ExecProducer, FeedEndpoint, FileEndpoint, FixedLengthEndpoint, FreemarkerEndpoint, FtpEndpoint, FtpsEndpoint, GAuthEndpoint, GAuthProducer, GenericFileEndpoint, GenericFileProducer, GHttpEndpoint, GHttpProducer, GLoginEndpoint, GLoginProducer, GMailEndpoint, GMailProducer, GroovyLanguage, GTaskEndpoint, GTaskProducer, HazelcastAtomicnumberEndpoint, HazelcastAtomicnumberProducer, HazelcastDefaultEndpoint, HazelcastInstanceEndpoint, HazelcastListEndpoint, HazelcastListProducer, HazelcastMapEndpoint, HazelcastMapProducer, HazelcastMultimapEndpoint, HazelcastMultimapProducer, HazelcastQueueEndpoint, HazelcastQueueProducer, HazelcastSedaEndpoint, HazelcastSedaProducer, HdfsEndpoint, HdfsProducer, 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, Jt400PgmEndpoint, Jt400PgmProducer, JXPathLanguage, KestrelEndpoint, KestrelProducer, LanguageEndpoint, LanguageProducer, LdapEndpoint, LdapProducer, LogEndpoint, LogProducer, LuceneEndpoint, LuceneIndexProducer, LuceneQueryProducer, MailEndpoint, MailProducer, MinaEndpoint, MinaProducer, MockEndpoint, MvelLanguage, MyBatisEndpoint, MyBatisProducer, NagiosEndpoint, NagiosProducer, NettyEndpoint, NettyProducer, OgnlLanguage, PaxLoggingEndpoint, PrinterEndpoint, PrinterProducer, ProcessorEndpoint, PropertyLanguage, QuartzEndpoint, QuickfixjEndpoint, QuickfixjProducer, RefLanguage, RemoteFileEndpoint, RemoteFileProducer, ResourceBasedEndpoint, RestletEndpoint, RestletProducer, RmiEndpoint, RmiProducer, RouteboxDirectEndpoint, RouteboxDirectProducer, RouteboxEndpoint, RouteboxSedaEndpoint, RouteboxSedaProducer, RssEndpoint, S3Endpoint, S3Producer, ScheduledPollEndpoint, ScriptLanguage, SedaEndpoint, SedaProducer, ServletEndpoint, SftpEndpoint, SimpleLanguage, SimpleLanguageSupport, SipEndpoint, SipPublisher, SmppEndpoint, SmppProducer, SnmpEndpoint, SnsEndpoint, SnsProducer, SpelLanguage, SpringIntegrationEndpoint, SpringIntegrationProducer, SpringWebserviceEndpoint, SpringWebserviceProducer, SqlEndpoint, SqlLanguage, SqlProducer, SqsEndpoint, SqsProducer, StreamEndpoint, StreamProducer, StringTemplateEndpoint, SynchronousDelegateProducer, TestEndpoint, TimerEndpoint, TokenizeLanguage, UnitOfWorkProducer, VelocityEndpoint, WikipediaEndpoint, 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:

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