org.apache.camel
Interface Service

All Known Subinterfaces:
CamelContext, Consumer<E>, PollingConsumer<E>, Producer<E>, ProducerTemplate<E>
All Known Implementing Classes:
Aggregator, BatchProcessor, BeanComponent, CamelTemplate, CatchProcessor, ChoiceProcessor, CompositeProcessor, DeadLetterChannel, DefaultCamelContext, DefaultComponent, DefaultConsumer, DefaultPollingConsumer, DefaultProducer, Delayer, DelayProcessorSupport, DelegateProcessor, ErrorHandlerSupport, FileComponent, FileConsumer, FileProducer, FilterProcessor, IdempotentConsumer, Interceptor, JMXComponent, JMXConsumer, LogComponent, LoggingErrorHandler, MockComponent, MulticastProcessor, Pipeline, PollingConsumerSupport, ProducerCache, QueueComponent, RecipientList, Resequencer, ScheduledPollConsumer, SedaComponent, SedaConsumer, SendProcessor, ServiceSupport, Splitter, Throttler, TimerComponent, TimerConsumer, TryProcessor, VmComponent

public interface Service

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

Version:
$Revision: 563607 $

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


Copyright © 2007 Apache Software Foundation. All Rights Reserved.