org.apache.camel
Interface Service

All Known Subinterfaces:
BatchConsumer, CamelContext, Consumer, ConsumerTemplate, Debugger, ExecutorServiceStrategy, InflightRepository, ManagementAgent, ManagementStrategy, PollingConsumer, Producer, ProducerTemplate, ShutdownableService, ShutdownStrategy, SuspendableService
All Known Implementing Classes:
ActivityMonitorEngine, ActivityRules, AggregateProcessor, AMQPComponent, AOPProcessor, AtomComponent, AtomEntryPollingConsumer, AtomPollingConsumer, AtomProducer, BatchProcessor, BeanComponent, BeanProcessor, BeanValidatorComponent, BlueprintCamelContext, BrowseComponent, BrowseEndpoint, CacheComponent, CacheConsumer, CacheManagerFactory, CacheProducer, CatchProcessor, ChoiceProcessor, ClassComponent, CollectionProducer, CometdComponent, CometdConsumer, CometdProducer, ConsumerCache, CxfBeanComponent, CxfComponent, CxfConsumer, CxfEndpoint, CxfProducer, CxfRsComponent, CxfRsConsumer, CxfRsProducer, CxfSpringEndpoint, DataSetComponent, DataSetConsumer, DataSetEndpoint, DeadLetterChannel, DefaultAsyncProducer, DefaultCamelContext, DefaultChannel, DefaultComponent, DefaultConsumer, DefaultConsumerTemplate, DefaultDebugger, DefaultErrorHandler, DefaultExecutorServiceStrategy, DefaultInflightRepository, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultProducer, DefaultProducerServicePool, DefaultProducerTemplate, DefaultRoute, DefaultScheduledPollConsumer, DefaultServicePool, DefaultShutdownStrategy, DefaultTimeoutMap, DefaultTypeConverter, DefaultUnitOfWork, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateAsyncProcessor, DelegateProcessor, DigitalSignatureComponent, DigitalSignatureProducer, DirectComponent, DirectConsumer, DirectProducer, EjbComponent, Enricher, ErrorHandlerSupport, EventComponent, EventConsumer, EventDrivenConsumerRoute, EventDrivenPollingConsumer, EventNotifierSupport, ExecComponent, ExecProducer, FailOverLoadBalancer, FeedComponent, FeedEntryPollingConsumer, FeedPollingConsumer, FileComponent, FileConsumer, FilterProcessor, FlatpackComponent, FreemarkerComponent, FtpComponent, FtpConsumer, FtpsComponent, GaeDefaultCamelContext, GaeSpringCamelContext, GAuthComponent, GAuthProducer, GenericFileComponent, GenericFileConsumer, GenericFileProducer, GHttpComponent, GHttpProducer, GLoginComponent, GLoginProducer, GMailComponent, GMailProducer, GTaskComponent, GTaskProducer, GuiceCamelContext, HandleFaultInterceptor, HawtDBAggregationRepository, HawtDBFile, HeaderFilterStrategyComponent, HttpComponent, HttpComponent, HttpConsumer, HttpConsumer, HttpPollingConsumer, HttpPollingConsumer, HttpProducer, HttpProducer, IBatisComponent, IBatisPollingConsumer, IBatisProducer, IdempotentConsumer, InstrumentationProcessor, InterceptEndpointProcessor, InterceptorToAsyncProcessorBridge, IrcComponent, IrcConsumer, IrcProducer, JavaSpaceComponent, JavaSpaceConsumer, JavaSpaceProducer, JcrComponent, JcrProducer, JdbcComponent, JdbcProducer, JettyHttpComponent, JettyHttpProducer, JingComponent, JmsComponent, JmsConsumer, JmsPollingConsumer, JmsProducer, JmxNotificationEventNotifier, JpaComponent, JpaConsumer, JpaProducer, Jt400Component, Jt400DataQueueConsumer, Jt400DataQueueProducer, LdapComponent, LdapProducer, LoadBalancerConsumer, LoadBalancerSupport, LogComponent, LoggingErrorHandler, LoggingEventNotifier, LoopProcessor, LRUCache, LuceneComponent, LuceneIndexProducer, LuceneQueryProducer, MailComponent, MailConsumer, MailProducer, Main, Main, Main, Main, MainSupport, ManagedManagementStrategy, MemoryAggregationRepository, MinaComponent, MinaConsumer, MinaProducer, MockComponent, MsvComponent, MulticastProcessor, NagiosComponent, NagiosEventNotifier, NagiosProducer, NettyComponent, NettyConsumer, NettyProducer, OnCompletionProcessor, OsgiDefaultCamelContext, OsgiSpringCamelContext, OsgiTypeConverter, PersistentReplyToRequestor, Pipeline, PollEnricher, PollingConsumerSupport, PrinterComponent, PrinterProducer, ProcessorPollingConsumer, ProcessRules, ProducerCache, PropertiesComponent, PublishEventNotifier, QuartzComponent, QuartzConsumer, QuartzEndpoint, QueueLoadBalancer, QuickfixAcceptor, QuickfixConsumer, QuickfixEndpoint, QuickfixInitiator, QuickfixProducer, RandomLoadBalancer, RecipientList, RecipientListProcessor, 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, SendProcessor, ServiceSupport, ServletComponent, SftpComponent, SftpConsumer, SharedProducerServicePool, SimpleLoadBalancerSupport, 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, TimerEndpoint, TopicLoadBalancer, TraceInterceptor, Tracer, TransactionErrorHandler, TryProcessor, UnitOfWorkProcessor, UnitOfWorkProducer, ValidatorComponent, VelocityComponent, VmComponent, WireTapProcessor, WrapProcessor, 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.