org.apache.camel.component.lucene
Class LuceneQueryProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer
          extended by org.apache.camel.component.lucene.LuceneQueryProducer
All Implemented Interfaces:
IsSingleton, Processor, Producer, Service, ShutdownableService

public class LuceneQueryProducer
extends DefaultProducer


Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultProducer
log
 
Constructor Summary
LuceneQueryProducer(Endpoint endpoint, LuceneConfiguration config)
           
 
Method Summary
 LuceneConfiguration getConfig()
           
 void process(Exchange exchange)
          Processes the message exchange
 void setConfig(LuceneConfiguration config)
           
 void start()
          Starts the service
 void stop()
          Stops the service
 
Methods inherited from class org.apache.camel.impl.DefaultProducer
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LuceneQueryProducer

public LuceneQueryProducer(Endpoint endpoint,
                           LuceneConfiguration config)
                    throws Exception
Throws:
Exception
Method Detail

start

public void start()
           throws Exception
Description copied from interface: Service
Starts the service

Specified by:
start in interface Service
Overrides:
start in class ServiceSupport
Throws:
Exception - is thrown if starting failed

stop

public void stop()
          throws Exception
Description copied from interface: Service
Stops the service

Specified by:
stop in interface Service
Overrides:
stop in class ServiceSupport
Throws:
Exception - is thrown if stopping failed

process

public void process(Exchange exchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Parameters:
exchange - the message exchange
Throws:
Exception - if an internal processing error has occurred.

getConfig

public LuceneConfiguration getConfig()

setConfig

public void setConfig(LuceneConfiguration config)


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