org.apache.camel.component.cxf.jaxrs
Class CxfRsEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.cxf.jaxrs.CxfRsEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton, HeaderFilterStrategyAware
Direct Known Subclasses:
CxfRsSpringEndpoint

public class CxfRsEndpoint
extends DefaultEndpoint
implements HeaderFilterStrategyAware


Constructor Summary
CxfRsEndpoint(String endpointUri, CamelContext camelContext)
           
CxfRsEndpoint(String endpointUri, Component component)
           
 
Method Summary
 Consumer createConsumer(Processor processor)
           
 org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean()
           
 org.apache.cxf.jaxrs.JAXRSServerFactoryBean createJAXRSServerFactoryBean()
           
 Producer createProducer()
           
 CxfRsBinding getBinding()
           
 HeaderFilterStrategy getHeaderFilterStrategy()
           
 Map<String,String> getParameters()
           
 List<Class<?>> getResourceClasses()
           
 boolean isHttpClientAPI()
           
 boolean isLenientProperties()
           
 boolean isSingleton()
           
 void setBinding(CxfRsBinding binding)
           
 void setHeaderFilterStrategy(HeaderFilterStrategy strategy)
           
 void setHttpClientAPI(boolean clientAPI)
           
 void setParameters(Map<String,String> param)
           
 void setResourceClasses(Class<?>... classes)
           
 void setResourceClasses(List<Class<?>> classes)
           
protected  void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb)
           
protected  void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CxfRsEndpoint

public CxfRsEndpoint(String endpointUri,
                     CamelContext camelContext)

CxfRsEndpoint

public CxfRsEndpoint(String endpointUri,
                     Component component)
Method Detail

setParameters

public void setParameters(Map<String,String> param)

getParameters

public Map<String,String> getParameters()

setHttpClientAPI

public void setHttpClientAPI(boolean clientAPI)

isHttpClientAPI

public boolean isHttpClientAPI()

isLenientProperties

public boolean isLenientProperties()
Specified by:
isLenientProperties in interface Endpoint
Overrides:
isLenientProperties in class DefaultEndpoint

getHeaderFilterStrategy

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

setHeaderFilterStrategy

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

createConsumer

public Consumer createConsumer(Processor processor)
                        throws Exception
Specified by:
createConsumer in interface Endpoint
Throws:
Exception

createProducer

public Producer createProducer()
                        throws Exception
Specified by:
createProducer in interface Endpoint
Throws:
Exception

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface IsSingleton

setBinding

public void setBinding(CxfRsBinding binding)

getBinding

public CxfRsBinding getBinding()

setupJAXRSServerFactoryBean

protected void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)

setupJAXRSClientFactoryBean

protected void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb)

createJAXRSServerFactoryBean

public org.apache.cxf.jaxrs.JAXRSServerFactoryBean createJAXRSServerFactoryBean()

createJAXRSClientFactoryBean

public org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean()

getResourceClasses

public List<Class<?>> getResourceClasses()

setResourceClasses

public void setResourceClasses(List<Class<?>> classes)

setResourceClasses

public void setResourceClasses(Class<?>... classes)


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