org.apache.camel.component.restlet
Class RestletComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent<Exchange>
          extended by org.apache.camel.component.restlet.RestletComponent
All Implemented Interfaces:
Component<Exchange>, HeaderFilterStrategyAware, Service

public class RestletComponent
extends DefaultComponent<Exchange>
implements HeaderFilterStrategyAware

A Camel component embedded Restlet that produces and consumes exchanges.

Version:
$Revision: 743835 $

Constructor Summary
RestletComponent()
           
 
Method Summary
 void connect(RestletConsumer consumer)
           
protected  Endpoint createEndpoint(String uri, String remaining, Map parameters)
           
 void disconnect(RestletConsumer consumer)
           
protected  void doStart()
           
protected  void doStop()
           
 HeaderFilterStrategy getHeaderFilterStrategy()
           
 void setHeaderFilterStrategy(HeaderFilterStrategy strategy)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
convertTo, createEndpoint, createExecutorService, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestletComponent

public RestletComponent()
Method Detail

createEndpoint

protected Endpoint createEndpoint(String uri,
                                  String remaining,
                                  Map parameters)
                           throws Exception
Specified by:
createEndpoint in class DefaultComponent<Exchange>
Throws:
Exception

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class DefaultComponent<Exchange>
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class DefaultComponent<Exchange>
Throws:
Exception

getHeaderFilterStrategy

public HeaderFilterStrategy getHeaderFilterStrategy()
Specified by:
getHeaderFilterStrategy in interface HeaderFilterStrategyAware

setHeaderFilterStrategy

public void setHeaderFilterStrategy(HeaderFilterStrategy strategy)
Specified by:
setHeaderFilterStrategy in interface HeaderFilterStrategyAware

connect

public void connect(RestletConsumer consumer)
             throws Exception
Throws:
Exception

disconnect

public void disconnect(RestletConsumer consumer)
                throws Exception
Throws:
Exception


Copyright © 2009 Apache Software Foundation. All Rights Reserved.