org.apache.camel
Interface Service

All Known Subinterfaces:
BatchConsumer, CamelContext, Consumer, ConsumerTemplate, InflightRepository, ManagementAgent, ManagementStrategy, PollingConsumer, Producer, ProducerTemplate, ServicePool<Key,Service>, ShutdownStrategy, SuspendableService
All Known Implementing Classes:
ActivityMonitorEngine, ActivityRules, Aggregator, AMQPComponent, AOPProcessor, AtomComponent, AtomEntryPollingConsumer, AtomPollingConsumer, AtomProducer, BatchProcessor, BeanComponent, BeanProcessor, BrowseComponent, BrowseEndpoint, CacheComponent, CacheConsumer, CacheProducer, CatchProcessor, ChoiceProcessor, CollectionProducer, CometdComponent, CometdConsumer, CometdProducer, ConsumerCache, CxfBeanComponent, CxfComponent, CxfConsumer, CxfEndpoint, CxfProducer, CxfRsComponent, CxfRsConsumer, CxfRsProducer, CxfSoapComponent, CxfSoapConsumer, CxfSoapProducer, CxfSpringEndpoint, DataSetComponent, DataSetConsumer, DataSetEndpoint, DeadLetterChannel, DefaultCamelContext, DefaultChannel, DefaultComponent, DefaultConsumer, DefaultConsumerTemplate, DefaultErrorHandler, DefaultInflightRepository, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultProducer, DefaultProducerServicePool, DefaultProducerTemplate, DefaultRoute, DefaultScheduledPollConsumer, DefaultServicePool, DefaultShutdownStrategy, DefaultTypeConverter, DefaultUnitOfWork, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateProcessor, DirectComponent, DirectConsumer, DirectProducer, Enricher, ErrorHandlerSupport, EventComponent, EventConsumer, EventDrivenConsumerRoute, EventDrivenPollingConsumer, EventNotifierSupport, FailOverLoadBalancer, FeedComponent, FeedEntryPollingConsumer, FeedPollingConsumer, FileComponent, FileConsumer, FilterProcessor, FlatpackComponent, FreemarkerComponent, FtpComponent, FtpConsumer, FtpsComponent, GaeDefaultCamelContext, GaeSpringCamelContext, GenericFileComponent, GenericFileConsumer, GenericFileProducer, GHttpComponent, GHttpProducer, GMailComponent, GMailProducer, GTaskComponent, GTaskProducer, GuiceCamelContext, HandleFaultInterceptor, HeaderFilterStrategyComponent, HttpComponent, HttpConsumer, HttpPollingConsumer, HttpProducer, IBatisComponent, IBatisPollingConsumer, IBatisProducer, IdempotentConsumer, InstrumentationProcessor, InterceptEndpointProcessor, IrcComponent, IrcConsumer, IrcProducer, JavaSpaceComponent, JavaSpaceConsumer, JavaSpaceProducer, JcrComponent, JcrProducer, JdbcComponent, JdbcProducer, JettyHttpComponent, JettyHttpProducer, JingComponent, JmsComponent, JmsConsumer, JmsPollingConsumer, JmsProducer, JpaComponent, JpaConsumer, JpaProducer, Jt400Component, Jt400DataQueueConsumer, Jt400DataQueueProducer, LdapComponent, LdapProducer, LoadBalancerConsumer, LoadBalancerSupport, LogComponent, LoggingErrorHandler, LoggingEventNotifier, LoopProcessor, LuceneComponent, LuceneIndexProducer, LuceneQueryProducer, MailComponent, MailConsumer, MailProducer, Main, Main, Main, MainSupport, ManagedManagementStrategy, MinaComponent, MinaConsumer, MinaProducer, MockComponent, MsvComponent, MulticastProcessor, OnCompletionProcessor, OsgiDefaultCamelContext, OsgiSpringCamelContext, PersistentReplyToRequestor, Pipeline, PollEnricher, PollingConsumerSupport, PrinterComponent, PrinterProducer, ProcessorPollingConsumer, ProcessRules, ProducerCache, PublishEventNotifier, QuartzComponent, QuartzConsumer, QueueLoadBalancer, QuickfixAcceptor, QuickfixConsumer, QuickfixEndpoint, QuickfixInitiator, QuickfixProducer, RandomLoadBalancer, RecipientList, RedeliveryErrorHandler, RefComponent, RelaxNGCompactSyntaxComponent, RemoteFileComponent, RemoteFileConsumer, RemoteFileProducer, Requestor, Resequencer, ResourceBasedComponent, RestletComponent, RestletConsumer, RestletEndpoint, RestletProducer, RmiComponent, RmiConsumer, RmiProducer, RoundRobinLoadBalancer, RoutePolicyProcessor, RoutePolicySupport, RouteService, RoutingSlip, RssComponent, RssEntryPollingConsumer, RssPollingConsumer, SamplingThrottler, ScheduledPollConsumer, SedaComponent, SedaConsumer, SedaProducer, SendAsyncProcessor, SendProcessor, ServiceSupport, ServletComponent, SetBodyProcessor, SftpComponent, SftpConsumer, SharedProducerServicePool, SmppComponent, SmppConsumer, SmppProducer, SnmpComponent, SnmpOIDPoller, SnmpTrapConsumer, Splitter, SpringCamelContext, SpringIntegrationComponent, SpringIntegrationConsumer, SpringIntegrationProducer, SqlComponent, SqlProducer, StickyLoadBalancer, StreamCachingInterceptor, StreamComponent, StreamConsumer, StreamProducer, StreamResequencer, StringTemplateComponent, TemporalRule, TestComponent, TestEndpoint, ThreadsProcessor, Throttler, ThrottlingInflightRoutePolicy, TimerComponent, TimerConsumer, TopicLoadBalancer, TraceInterceptor, Tracer, TransactionErrorHandler, TransformProcessor, TryProcessor, UnitOfWorkProcessor, ValidatorComponent, VelocityComponent, VmComponent, WireTapProcessor, XmppComponent, XmppConsumer, XmppGroupChatProducer, XmppPrivateChatProducer, XPathBuilder, XQueryComponent, XsltComponent

public interface Service

Represents the core lifecycle API for POJOs which can be started and stopped

Version:
$Revision: 14803 $

Method Summary
 void start()
          Starts the service
 void stop()
          Stops the service
 

Method Detail

start

void start()
           throws Exception
Starts the service

Throws:
Exception - is thrown if starting failed

stop

void stop()
          throws Exception
Stops the service

Throws:
Exception - is thrown if stopping failed


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