org.apache.camel.component.jcr
Class EndpointEventListener

java.lang.Object
  extended by org.apache.camel.component.jcr.EndpointEventListener
All Implemented Interfaces:
javax.jcr.observation.EventListener

public class EndpointEventListener
extends Object
implements javax.jcr.observation.EventListener

A JCR EventListener which can be used to delegate processing to a Camel endpoint.

Version:
$Id$

Constructor Summary
EndpointEventListener(JcrEndpoint endpoint, org.apache.camel.Processor processor)
           
 
Method Summary
 void onEvent(javax.jcr.observation.EventIterator events)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointEventListener

public EndpointEventListener(JcrEndpoint endpoint,
                             org.apache.camel.Processor processor)
Method Detail

onEvent

public void onEvent(javax.jcr.observation.EventIterator events)
Specified by:
onEvent in interface javax.jcr.observation.EventListener


Apache Camel