org.apache.camel
Interface Service

All Known Subinterfaces:
CamelContext, Consumer<E>, PollingConsumer<E>, Producer<E>
All Known Implementing Classes:
CamelTemplate, ChoiceProcessor, CompositeProcessor, DeadLetterChannel, DefaultCamelContext, DefaultComponent, DefaultConsumer, DefaultPollingConsumer, DefaultProducer, DelegateProcessor, FileComponent, FileConsumer, FileProducer, FilterProcessor, IdempotentConsumer, JMXComponent, JMXConsumer, LoggingErrorHandler, MockComponent, MulticastProcessor, Pipeline, PojoComponent, PollingConsumerSupport, ProcessorEndpointConsumer, ProducerCache, QueueComponent, QueueEndpointConsumer, RecipientList, Resequencer, ScheduledPollConsumer, SendProcessor, ServiceSupport, Splitter, TimerComponent, TimerConsumer

public interface Service

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

Version:
$Revision: 532316 $

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.