|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.jcr.JcrConnector
public final class JcrConnector
JcrConnector
is a transport that connects to JCR 1.0 (aka JSR 170)
repositories.
Field Summary | |
---|---|
static String |
JCR_ALWAYS_CREATE_CHILD_NODE_PROPERTY
Property that forces the creation of a child node under the node target by the endpoint URI, instead of trying first to locate an existing one. |
static String |
JCR_CONTENT_PAYLOAD_TYPE_PROPERTY
Property that defines the type of payload that a JCR MuleMessage
will contain. |
static String |
JCR_DEEP_PROPERTY
Property that defines if events coming from deeper than the specified endpoint path must be listened to. |
static String |
JCR_EVENT_TYPES_PROPERTY
Property that defines a combination of repository events that will only be listened to. |
static String |
JCR_ITEM_PATH
Property that defines a the full unique path of a particular item (node or property). |
static String |
JCR_NO_LOCAL_PROPERTY
Property that defines if local events must be ignored. |
static String |
JCR_NODE_RELPATH_PROPERTY
Property that defines a relative path to append after the endpoint item path. |
static String |
JCR_NODE_TYPE_NAME_LIST_PROPERTY
Property that defines a list of node types that will only be listened to for changes. |
static String |
JCR_NODE_TYPE_NAME_PROPERTY
Property that defines a particular node type name. |
static String |
JCR_NODE_UUID_PROPERTY
Property that forces the lookup of a particular node by UUID. |
static String |
JCR_PROPERTY_REL_PATH_PROPERTY
Property that defines a relative path to append at the end of the target item path. |
static String |
JCR_QUERY_LANGUAGE_PROPERTY
Property that defines a repository search query language. |
static String |
JCR_QUERY_STATEMENT_PROPERTY
Property that defines a repository search query statement. |
static String |
JCR_UUID_LIST_PROPERTY
Property that defines a list of node UUIDs that will only be listened to for changes. |
static String |
PROTOCOL
|
Fields inherited from class org.mule.transport.AbstractConnector |
---|
createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatcherPoolFactory, dispatchers, initialStateStopped, lifecycleManager, logger, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, PROPERTY_POLLING_FREQUENCY, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect |
Fields inherited from interface org.mule.api.transport.Connector |
---|
INT_VALUE_NOT_SET |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
JcrConnector(org.mule.api.MuleContext muleContext)
|
Method Summary | |
---|---|
void |
doConnect()
|
void |
doDisconnect()
|
void |
doDispose()
|
void |
doInitialise()
|
void |
doStart()
|
void |
doStop()
|
String |
getContentPayloadType()
|
Integer |
getEventTypes()
|
NodeTypeHandlerManager |
getNodeTypeHandlerManager()
|
OutputStream |
getOutputStream(org.mule.api.endpoint.OutboundEndpoint endpoint,
org.mule.api.MuleEvent event)
Will get the output stream for this type of transport. |
String |
getPassword()
|
String |
getProtocol()
|
javax.jcr.Repository |
getRepository()
|
String |
getUsername()
|
String |
getWorkspaceName()
|
Boolean |
isDeep()
|
Boolean |
isNoLocal()
|
javax.jcr.Session |
newSession()
|
void |
setContentPayloadType(String contentPayloadType)
|
void |
setCustomNodeTypeHandlers(List<Class<? extends NodeTypeHandler>> customNodeTypeHandlers)
Sets an optional list of NodeTypeHandlers class names. |
void |
setDeep(Boolean deep)
|
void |
setEventTypes(Integer eventTypes)
|
void |
setNodeTypeNames(String nodeTypeNames)
|
void |
setNoLocal(Boolean noLocal)
|
void |
setPassword(String password)
|
void |
setRepository(javax.jcr.Repository repository)
|
void |
setUsername(String username)
|
void |
setUuids(String uuids)
|
void |
setWorkspaceName(String workspaceName)
|
void |
terminateSession(javax.jcr.Session session)
|
javax.jcr.Session |
validateSession(javax.jcr.Session session)
|
Methods inherited from class org.mule.transport.AbstractConnector |
---|
clearDispatchers, clearRequesters, configureDispatcherPool, connect, createDispatcherMessageProcessor, createMuleMessageFactory, createReceiver, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doUnregisterListener, fireNotification, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherPoolFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOutboundExchangePatterns, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isConnecting, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isInitialised, isInitialStateStopped, isResponseEnabled, isStarted, isStarting, isStopped, isStopping, isValidateConnections, lookupReceiver, registerListener, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, setConnected, setConnecting, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherPoolFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOCOL
public static final String JCR_DEEP_PROPERTY
public static final String JCR_UUID_LIST_PROPERTY
public static final String JCR_EVENT_TYPES_PROPERTY
public static final String JCR_NODE_TYPE_NAME_LIST_PROPERTY
public static final String JCR_CONTENT_PAYLOAD_TYPE_PROPERTY
MuleMessage
will contain.
public static final String JCR_NO_LOCAL_PROPERTY
public static final String JCR_PROPERTY_REL_PATH_PROPERTY
public static final String JCR_NODE_RELPATH_PROPERTY
public static final String JCR_ALWAYS_CREATE_CHILD_NODE_PROPERTY
public static final String JCR_NODE_TYPE_NAME_PROPERTY
public static final String JCR_NODE_UUID_PROPERTY
public static final String JCR_QUERY_STATEMENT_PROPERTY
public static final String JCR_QUERY_LANGUAGE_PROPERTY
public static final String JCR_ITEM_PATH
Constructor Detail |
---|
public JcrConnector(org.mule.api.MuleContext muleContext)
Method Detail |
---|
public void doInitialise() throws org.mule.api.lifecycle.InitialisationException
doInitialise
in class org.mule.transport.AbstractConnector
org.mule.api.lifecycle.InitialisationException
public void doConnect() throws Exception
doConnect
in class org.mule.transport.AbstractConnector
Exception
public void doStart() throws org.mule.api.MuleException
doStart
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
public void doStop() throws org.mule.api.MuleException
doStop
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
public void doDisconnect() throws Exception
doDisconnect
in class org.mule.transport.AbstractConnector
Exception
public void doDispose()
doDispose
in class org.mule.transport.AbstractConnector
public OutputStream getOutputStream(org.mule.api.endpoint.OutboundEndpoint endpoint, org.mule.api.MuleEvent event) throws org.mule.api.MuleException
getOutputStream
in interface org.mule.api.transport.Connector
getOutputStream
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
public javax.jcr.Session newSession() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void terminateSession(javax.jcr.Session session)
public javax.jcr.Session validateSession(javax.jcr.Session session)
public String getProtocol()
public void setCustomNodeTypeHandlers(List<Class<? extends NodeTypeHandler>> customNodeTypeHandlers)
NodeTypeHandlers
class names.
customNodeTypeHandlers
- public NodeTypeHandlerManager getNodeTypeHandlerManager()
public String getPassword()
public void setPassword(String password)
password
- the password to setpublic javax.jcr.Repository getRepository()
public void setRepository(javax.jcr.Repository repository)
repository
- the repository to setpublic String getUsername()
public void setUsername(String username)
username
- the username to setpublic String getWorkspaceName()
public void setWorkspaceName(String workspaceName)
workspaceName
- the workspaceName to setpublic Boolean isDeep()
public void setDeep(Boolean deep)
deep
- the deep to setpublic Integer getEventTypes()
public void setEventTypes(Integer eventTypes)
eventTypes
- the eventTypes to setpublic void setNodeTypeNames(String nodeTypeNames)
nodeTypeNames
- the nodeTypeNames to setpublic Boolean isNoLocal()
public void setNoLocal(Boolean noLocal)
noLocal
- the noLocal to setpublic void setUuids(String uuids)
uuid
- the uuid to setpublic String getContentPayloadType()
public void setContentPayloadType(String contentPayloadType)
contentPayloadType
- the contentPayloadType to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |