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, CxfSoapEndpoint, CxfSoapProducer, CxfSpringEndpoint, DataSetEndpoint, DefaultEndpoint, DefaultPollingEndpoint, DefaultProducer, DelimitedEndpoint, DirectEndpoint, DirectProducer, EventEndpoint, FeedEndpoint, FileEndpoint, FileLanguage, FixedLengthEndpoint, FreemarkerEndpoint, FtpEndpoint, FtpsEndpoint, GenericFileEndpoint, GenericFileProducer, GHttpEndpoint, GHttpProducer, GMailEndpoint, GMailProducer, GroovyLanguage, GTaskEndpoint, GTaskProducer, HeaderLanguage, HttpEndpoint, HttpProducer, IBatisEndpoint, IBatisProducer, InterceptSendToEndpoint, IrcEndpoint, IrcProducer, JavaSpaceEndpoint, JavaSpaceProducer, JcrEndpoint, JcrProducer, JdbcEndpoint, JdbcProducer, JettyHttpEndpoint, JettyHttpProducer, JmsEndpoint, JmsProducer, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JpaEndpoint, JpaProducer, Jt400DataQueueEndpoint, Jt400DataQueueProducer, LdapEndpoint, LdapProducer, LogEndpoint, LuceneEndpoint, LuceneIndexProducer, LuceneQueryProducer, MailEndpoint, MailProducer, MinaEndpoint, MinaProducer, MockEndpoint, MvelLanguage, PrinterEndpoint, PrinterProducer, ProcessorEndpoint, PropertyLanguage, QuartzEndpoint, QuickfixEndpoint, QuickfixProducer, RemoteFileEndpoint, RemoteFileProducer, ResourceBasedEndpoint, RestletEndpoint, RestletProducer, RmiEndpoint, RmiProducer, RssEndpoint, ScheduledPollEndpoint, ScriptLanguage, SedaEndpoint, SedaProducer, ServletEndpoint, SftpEndpoint, SimpleLanguage, SimpleLanguageSupport, SmppEndpoint, SmppProducer, SnmpEndpoint, SpringIntegrationEndpoint, SpringIntegrationProducer, SqlEndpoint, SqlProducer, StreamEndpoint, StreamProducer, StringTemplateEndpoint, TestEndpoint, TimerEndpoint, TokenizeLanguage, 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: 2987 $

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.


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.