public class SocketCasProcessorDeployer extends 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(List aCasProcessorList,
boolean redeploy)
Uses ProcessControllerAdapter instance to launch fenced CasProcessor.
|
ProcessingContainer |
deployCasProcessor(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(URL aURL) |
public SocketCasProcessorDeployer(ProcessControllerAdapter aController, CPEFactory aCpeFactory)
public SocketCasProcessorDeployer(ProcessControllerAdapter aController)
public ProcessingContainer deployCasProcessor(List aCasProcessorList, CPMEngine aEngine, boolean redeploy) throws ResourceConfigurationException
aCasProcessorList
- - list containing instantiated Cas Processorsredeploy
- - true when redeploying failed Cas ProcessorResourceConfigurationException
public ProcessingContainer deployCasProcessor(List aCasProcessorList, boolean redeploy) throws ResourceConfigurationException
deployCasProcessor
in interface CasProcessorDeployer
aCasProcessorList
- -
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 CasProcessorDeployer
aProcessingContainer
- -
ProcessingContainer managing deployed Cas Processor to redeployResourceConfigurationException
- -
failed to deploy Cas Processorpublic void undeploy(URL aURL) throws CasProcessorDeploymentException
undeploy
in interface CasProcessorDeployer
CasProcessorDeploymentException
public void undeploy() throws CasProcessorDeploymentException
undeploy
in interface CasProcessorDeployer
CasProcessorDeploymentException
Copyright © 2006–2024 The Apache Software Foundation. All rights reserved.