|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.jcr.JcrEndpoint
public class JcrEndpoint
A JCR endpoint
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
protected |
JcrEndpoint(String endpointUri,
JcrComponent component)
|
| Method Summary | |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor)
Currently unsupported |
org.apache.camel.Producer |
createProducer()
|
protected String |
getBase()
Get the base node when accessing the reposititory |
protected javax.jcr.Credentials |
getCredentials()
Get the Credentials for establishing the JCR repository connection |
String |
getEndpointConfiguredDestinationName()
Gets the destination name which was configured from the endpoint uri. |
int |
getEventTypes()
eventTypes (a combination of one or more event types encoded
as a bit mask value such as javax.jcr.observation.Event.NODE_ADDED, javax.jcr.observation.Event.NODE_REMOVED, etc.). |
String |
getNodeTypeNames()
When a comma separated nodeTypeName list string is set, only events whose associated parent node has
one of the node types (or a subtype of one of the node types) in this
list will be received. |
protected javax.jcr.Repository |
getRepository()
Get the Repository |
long |
getSessionLiveCheckInterval()
Interval in milliseconds to wait before each session live checking The default value is 60000 ms. |
long |
getSessionLiveCheckIntervalOnStart()
Interval in milliseconds to wait before the first session live checking. |
String |
getUuids()
When a comma separated uuid list string is set, only events whose associated parent node has one of the identifiers in the comma separated uuid list will be received. |
boolean |
isDeep()
When isDeep is true, events whose associated parent node is at
absPath or within its subgraph are received. |
boolean |
isNoLocal()
If noLocal is true, then events
generated by the session through which the listener was registered are
ignored. |
boolean |
isSingleton()
|
void |
setDeep(boolean deep)
|
void |
setEventTypes(int eventTypes)
|
void |
setNodeTypeNames(String nodeTypeNames)
|
void |
setNoLocal(boolean noLocal)
|
void |
setSessionLiveCheckInterval(long sessionLiveCheckInterval)
|
void |
setSessionLiveCheckIntervalOnStart(long sessionLiveCheckIntervalOnStart)
|
void |
setUuids(String uuids)
|
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
protected JcrEndpoint(String endpointUri,
JcrComponent component)
| Method Detail |
|---|
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
org.apache.camel.RuntimeCamelException
Exception
public org.apache.camel.Producer createProducer()
throws Exception
Exceptionpublic boolean isSingleton()
protected javax.jcr.Repository getRepository()
Repository
protected javax.jcr.Credentials getCredentials()
Credentials for establishing the JCR repository connection
protected String getBase()
public int getEventTypes()
eventTypes (a combination of one or more event types encoded
as a bit mask value such as javax.jcr.observation.Event.NODE_ADDED, javax.jcr.observation.Event.NODE_REMOVED, etc.).
javax.jcr.observation.Event},
javax.jcr.observation.ObservationManager#addEventListener(javax.jcr.observation.EventListener, int, String, boolean, String[], String[], boolean)}public void setEventTypes(int eventTypes)
public boolean isDeep()
isDeep is true, events whose associated parent node is at
absPath or within its subgraph are received.
public void setDeep(boolean deep)
public String getUuids()
public void setUuids(String uuids)
public String getNodeTypeNames()
nodeTypeName list string is set, only events whose associated parent node has
one of the node types (or a subtype of one of the node types) in this
list will be received.
public void setNodeTypeNames(String nodeTypeNames)
public boolean isNoLocal()
noLocal is true, then events
generated by the session through which the listener was registered are
ignored. Otherwise, they are not ignored.
public void setNoLocal(boolean noLocal)
public long getSessionLiveCheckIntervalOnStart()
public void setSessionLiveCheckIntervalOnStart(long sessionLiveCheckIntervalOnStart)
public long getSessionLiveCheckInterval()
public void setSessionLiveCheckInterval(long sessionLiveCheckInterval)
public String getEndpointConfiguredDestinationName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||