org.apache.camel
Interface Service

All Known Subinterfaces:
BatchConsumer, CamelContext, Consumer, ConsumerTemplate, InstrumentationAgent, PollingConsumer, Producer, ProducerTemplate, ServicePool<Key,Service>
All Known Implementing Classes:
Aggregator, AOPProcessor, BatchProcessor, BeanComponent, BeanProcessor, BrowseComponent, BrowseEndpoint, CatchProcessor, ChoiceProcessor, CollectionProducer, CompositeProcessor, ConsumerCache, DataSetComponent, DataSetConsumer, DataSetEndpoint, DeadLetterChannel, DefaultCamelContext, DefaultChannel, DefaultComponent, DefaultConsumer, DefaultConsumerTemplate, DefaultErrorHandler, DefaultInstrumentationAgent, DefaultProducer, DefaultProducerServicePool, DefaultProducerTemplate, DefaultScheduledPollConsumer, DefaultServicePool, DefaultUnitOfWork, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateProcessor, DirectComponent, DirectConsumer, DirectProducer, Enricher, ErrorHandlerSupport, EventDrivenPollingConsumer, FailOverLoadBalancer, FileComponent, FileConsumer, FilterProcessor, GenericFileComponent, GenericFileConsumer, GenericFileProducer, HandleFaultInterceptor, HeaderFilterStrategyComponent, IdempotentConsumer, InstrumentationProcessor, InterceptEndpointProcessor, LoadBalancerConsumer, LoadBalancerSupport, LogComponent, LoggingErrorHandler, LoopProcessor, MainSupport, MockComponent, MulticastProcessor, OnCompletionProcessor, Pipeline, PollEnricher, PollingConsumerSupport, ProcessorPollingConsumer, ProducerCache, QueueLoadBalancer, RandomLoadBalancer, RecipientList, RedeliveryErrorHandler, RefComponent, Resequencer, RoundRobinLoadBalancer, RouteService, RoutingSlip, ScheduledPollConsumer, SedaComponent, SedaConsumer, SedaProducer, SendProcessor, ServiceSupport, Splitter, StickyLoadBalancer, StreamCachingInterceptor, StreamResequencer, ThreadsProcessor, Throttler, TimerComponent, TimerConsumer, TopicLoadBalancer, TraceInterceptor, TransformProcessor, TryProcessor, UnitOfWorkProcessor, VmComponent, WireTapProcessor

public interface Service

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

Version:
$Revision: 630591 $

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

Method Detail

start

void start()
           throws Exception
Starts the service

Throws:
Exception

stop

void stop()
          throws Exception
Stops the service

Throws:
Exception


Apache CAMEL