|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<PojoExchange>
org.apache.camel.pojo.PojoEndpoint
public class PojoEndpoint
Represents a pojo endpoint that uses reflection to send messages around.
Field Summary |
---|
Fields inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
activated, deactivated |
Constructor Summary | |
---|---|
PojoEndpoint(String uri,
CamelContext container,
PojoComponent component,
Object pojo)
|
Method Summary | |
---|---|
PojoExchange |
createExchange()
Create a new exchange for communicating with this endpoint |
Object |
createInboundProxy(Class[] interfaces)
Creates a Proxy object that can be used to deliver inbound PojoExchanges. |
protected void |
doActivate()
Called at most once by the container to activate the endpoint |
protected void |
doDeactivate()
Called at most once by the container to deactivate the endpoint |
void |
onExchange(PojoExchange exchange)
This causes us to invoke the endpoint Pojo using reflection. |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
activate, convertTo, createExchange, deactivate, equals, getContext, getEndpointUri, getInboundProcessor, hashCode, setInboundProcessor, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PojoEndpoint(String uri, CamelContext container, PojoComponent component, Object pojo)
Method Detail |
---|
public void onExchange(PojoExchange exchange)
public PojoExchange createExchange()
Endpoint
protected void doActivate()
DefaultEndpoint
doActivate
in class DefaultEndpoint<PojoExchange>
protected void doDeactivate()
DefaultEndpoint
doDeactivate
in class DefaultEndpoint<PojoExchange>
public Object createInboundProxy(Class[] interfaces)
interfaces
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |