org.jboss.dna.connector.federation.executor
Class SingleProjectionCommandExecutor
java.lang.Object
org.jboss.dna.graph.requests.processor.RequestProcessor
org.jboss.dna.connector.federation.executor.SingleProjectionCommandExecutor
@NotThreadSafe
public class SingleProjectionCommandExecutor
- extends org.jboss.dna.graph.requests.processor.RequestProcessor
- Author:
- Randall Hauch
| Nested classes/interfaces inherited from class org.jboss.dna.graph.requests.processor.RequestProcessor |
org.jboss.dna.graph.requests.processor.RequestProcessor.LocationWithDepth |
|
Method Summary |
void |
close()
|
protected org.jboss.dna.graph.connectors.RepositoryConnection |
getConnection()
|
void |
process(org.jboss.dna.graph.requests.CopyBranchRequest request)
|
void |
process(org.jboss.dna.graph.requests.CreateNodeRequest request)
|
void |
process(org.jboss.dna.graph.requests.DeleteBranchRequest request)
|
void |
process(org.jboss.dna.graph.requests.MoveBranchRequest request)
|
void |
process(org.jboss.dna.graph.requests.ReadAllChildrenRequest request)
|
void |
process(org.jboss.dna.graph.requests.ReadAllPropertiesRequest request)
|
void |
process(org.jboss.dna.graph.requests.ReadNodeRequest request)
|
void |
process(org.jboss.dna.graph.requests.UpdatePropertiesRequest request)
|
protected void |
projectError(org.jboss.dna.graph.requests.Request original,
org.jboss.dna.graph.Location originalLocation,
org.jboss.dna.graph.requests.Request projected)
|
protected org.jboss.dna.graph.Location |
projectIntoRepository(org.jboss.dna.graph.Location pathInSource)
|
protected org.jboss.dna.graph.Location |
projectIntoSource(org.jboss.dna.graph.Location pathInRepository)
|
| Methods inherited from class org.jboss.dna.graph.requests.processor.RequestProcessor |
getExecutionContext, getNowInUtc, getSourceName, process, process, process, process, process, process, process, process |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleProjectionCommandExecutor
public SingleProjectionCommandExecutor(org.jboss.dna.graph.ExecutionContext context,
String sourceName,
Projection projection,
org.jboss.dna.graph.connectors.RepositoryConnectionFactory connectionFactory)
- Parameters:
context - the execution context in which the executor will be run; may not be nullsourceName - the name of the RepositorySource that is making use of this executor; may not be null or emptyprojection - the projection used for the cached information; may not be null and must have exactly one
ruleconnectionFactory - the factory for RepositoryConnection instances
SingleProjectionCommandExecutor
public SingleProjectionCommandExecutor(org.jboss.dna.graph.ExecutionContext context,
String sourceName,
org.jboss.dna.graph.properties.DateTime now,
Projection projection,
org.jboss.dna.graph.connectors.RepositoryConnectionFactory connectionFactory)
- Parameters:
context - the execution context in which the executor will be run; may not be nullsourceName - the name of the RepositorySource that is making use of this executor; may not be null or emptynow - the current time; may be null if the system time is to be usedprojection - the projection used for the cached information; may not be null and must have exactly one
ruleconnectionFactory - the factory for RepositoryConnection instances
getConnection
protected org.jboss.dna.graph.connectors.RepositoryConnection getConnection()
throws org.jboss.dna.graph.connectors.RepositorySourceException
- Throws:
org.jboss.dna.graph.connectors.RepositorySourceException
close
public void close()
-
- Overrides:
close in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.close()
process
public void process(org.jboss.dna.graph.requests.ReadAllChildrenRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.ReadAllChildrenRequest)
process
public void process(org.jboss.dna.graph.requests.ReadAllPropertiesRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.ReadAllPropertiesRequest)
process
public void process(org.jboss.dna.graph.requests.ReadNodeRequest request)
-
- Overrides:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.ReadNodeRequest)
process
public void process(org.jboss.dna.graph.requests.CreateNodeRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.CreateNodeRequest)
process
public void process(org.jboss.dna.graph.requests.UpdatePropertiesRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.UpdatePropertiesRequest)
process
public void process(org.jboss.dna.graph.requests.DeleteBranchRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.DeleteBranchRequest)
process
public void process(org.jboss.dna.graph.requests.MoveBranchRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.MoveBranchRequest)
process
public void process(org.jboss.dna.graph.requests.CopyBranchRequest request)
-
- Specified by:
process in class org.jboss.dna.graph.requests.processor.RequestProcessor
- See Also:
RequestProcessor.process(org.jboss.dna.graph.requests.CopyBranchRequest)
projectIntoSource
protected org.jboss.dna.graph.Location projectIntoSource(org.jboss.dna.graph.Location pathInRepository)
projectIntoRepository
protected org.jboss.dna.graph.Location projectIntoRepository(org.jboss.dna.graph.Location pathInSource)
projectError
protected void projectError(org.jboss.dna.graph.requests.Request original,
org.jboss.dna.graph.Location originalLocation,
org.jboss.dna.graph.requests.Request projected)
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.