public class SocketCasProcessorDeployer extends java.lang.Object implements CasProcessorDeployer
CasProcessorDeployer component responsible for launch and
termination of the fenced CasProcessor. It uses a plug-in ProcessControllerAdapter object
to delegate launch requests from the CPM to the external application.| Constructor and Description |
|---|
SocketCasProcessorDeployer(ProcessControllerAdapter aController) |
SocketCasProcessorDeployer(ProcessControllerAdapter aController,
CPEFactory aCpeFactory) |
| Modifier and Type | Method and Description |
|---|---|
ProcessingContainer |
deployCasProcessor(java.util.List aCasProcessorList,
boolean redeploy)
Uses ProcessControllerAdapter instance to launch fenced CasProcessor.
|
ProcessingContainer |
deployCasProcessor(java.util.List aCasProcessorList,
CPMEngine aEngine,
boolean redeploy)
Deploys integrated Cas Processor.
|
void |
deployCasProcessor(ProcessingContainer aProcessingContainer)
Uses ProcessControllerAdapter instance to launch fenced CasProcessor.
|
void |
undeploy() |
void |
undeploy(java.net.URL aURL) |
public SocketCasProcessorDeployer(ProcessControllerAdapter aController, CPEFactory aCpeFactory)
public SocketCasProcessorDeployer(ProcessControllerAdapter aController)
public ProcessingContainer deployCasProcessor(java.util.List aCasProcessorList, CPMEngine aEngine, boolean redeploy) throws ResourceConfigurationException
- - aCasProcessorList - list containing instantiated Cas ProcessorsResourceConfigurationExceptionpublic ProcessingContainer deployCasProcessor(java.util.List aCasProcessorList, boolean redeploy) throws ResourceConfigurationException
deployCasProcessor in interface CasProcessorDeployeraCasProcessorList - -
list of Cas Processors to deployredeploy - -
true if the Cas Processor is being redeployed as part of the recovery, false otherwiseResourceConfigurationException - -
failed to deploy Cas Processorpublic void deployCasProcessor(ProcessingContainer aProcessingContainer) throws ResourceConfigurationException
deployCasProcessor in interface CasProcessorDeployeraProcessingContainer - -
ProcessingContainer managing deployed Cas Processor to redeployResourceConfigurationException - -
failed to deploy Cas Processorpublic void undeploy(java.net.URL aURL)
throws CasProcessorDeploymentException
undeploy in interface CasProcessorDeployerCasProcessorDeploymentExceptionpublic void undeploy()
throws CasProcessorDeploymentException
undeploy in interface CasProcessorDeployerCasProcessorDeploymentExceptionCopyright © 2013. All Rights Reserved.