org.jboss.dna.connector.jbosscache
Class JBossCacheRequestProcessor

java.lang.Object
  extended by org.jboss.dna.graph.request.processor.RequestProcessor
      extended by org.jboss.dna.connector.jbosscache.JBossCacheRequestProcessor

public class JBossCacheRequestProcessor
extends RequestProcessor

A RequestProcessor implementation that operates upon a JBoss Cache instance for each workspace in the source.

This processor only uses Location objects with paths. Even though every node in the cache is automatically assigned a UUID (and all operations properly handle UUIDs), these UUIDs are not included in the Location objects because the processor is unable to search the cache to find nodes by UUID.


Method Summary
 void process(CloneWorkspaceRequest request)
          Process a request to clone an existing workspace as a new workspace.
 void process(CopyBranchRequest request)
          Process a request to copy a branch into another location.
 void process(CreateNodeRequest request)
          Process a request to create a node at a specified location.
 void process(CreateWorkspaceRequest request)
          Process a request to create a new workspace.
 void process(DeleteBranchRequest request)
          Process a request to delete a branch at a specified location.
 void process(DestroyWorkspaceRequest request)
          Process a request to permanently destroy a workspace.
 void process(GetWorkspacesRequest request)
          Process a request to get the information about the available workspaces.
 void process(MoveBranchRequest request)
          Process a request to move a branch at a specified location into a different location.
 void process(ReadAllChildrenRequest request)
          Process a request to read all of the children of a node.
 void process(ReadAllPropertiesRequest request)
          Process a request to read the properties of a node at the supplied location.
 void process(UpdatePropertiesRequest request)
          Process a request to remove the specified properties from a node.
 void process(VerifyWorkspaceRequest request)
          Process a request to verify a named workspace.
 
Methods inherited from class org.jboss.dna.graph.request.processor.RequestProcessor
close, getExecutionContext, getSourceName, process, process, process, process, process, process, process, process, process, process, process, process
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

process

public void process(ReadAllChildrenRequest request)
Description copied from class: RequestProcessor
Process a request to read all of the children of a node.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the read request

process

public void process(ReadAllPropertiesRequest request)
Description copied from class: RequestProcessor
Process a request to read the properties of a node at the supplied location.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the read request

process

public void process(CreateNodeRequest request)
Description copied from class: RequestProcessor
Process a request to create a node at a specified location.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the create request

process

public void process(UpdatePropertiesRequest request)
Description copied from class: RequestProcessor
Process a request to remove the specified properties from a node.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the remove request

process

public void process(CopyBranchRequest request)
Description copied from class: RequestProcessor
Process a request to copy a branch into another location.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the copy request

process

public void process(DeleteBranchRequest request)
Description copied from class: RequestProcessor
Process a request to delete a branch at a specified location.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the delete request

process

public void process(MoveBranchRequest request)
Description copied from class: RequestProcessor
Process a request to move a branch at a specified location into a different location.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the move request

process

public void process(VerifyWorkspaceRequest request)
Process a request to verify a named workspace.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the request
See Also:
RequestProcessor.process(org.jboss.dna.graph.request.VerifyWorkspaceRequest)

process

public void process(GetWorkspacesRequest request)
Process a request to get the information about the available workspaces.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the request
See Also:
RequestProcessor.process(org.jboss.dna.graph.request.GetWorkspacesRequest)

process

public void process(CreateWorkspaceRequest request)
Process a request to create a new workspace.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the request
See Also:
RequestProcessor.process(org.jboss.dna.graph.request.CreateWorkspaceRequest)

process

public void process(CloneWorkspaceRequest request)
Process a request to clone an existing workspace as a new workspace.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the request
See Also:
RequestProcessor.process(org.jboss.dna.graph.request.CloneWorkspaceRequest)

process

public void process(DestroyWorkspaceRequest request)
Process a request to permanently destroy a workspace.

This method does nothing if the request is null.

Specified by:
process in class RequestProcessor
Parameters:
request - the request
See Also:
RequestProcessor.process(org.jboss.dna.graph.request.DestroyWorkspaceRequest)


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.