public class CPEDeployerDefaultImpl extends Object implements CasProcessorDeployer
CasProcessorDeployer. Used to instantiate integrated Cas Processor.| Constructor and Description |
|---|
CPEDeployerDefaultImpl(CPEFactory aCpeFactory)
Initializes this instance with a reference to the CPE configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ProcessingContainer |
deployCasProcessor(List aCasProcessorList,
boolean redeploy)
Deploys integrated Cas Processor.
|
ProcessingContainer |
deployCasProcessor(List aCasProcessorList,
CPMEngine aEngine,
boolean redeploy)
Deploys integrated Cas Processor.
|
void |
deployCasProcessor(ProcessingContainer aProcessingContainer)
Deploys integrated Cas Processor using configuration available in a given Container.
|
void |
undeploy() |
void |
undeploy(URL aURL) |
public CPEDeployerDefaultImpl(CPEFactory aCpeFactory)
aCpeFactory - -
reference to CPE configurationpublic ProcessingContainer deployCasProcessor(List aCasProcessorList, CPMEngine aEngine, boolean redeploy) throws org.apache.uima.resource.ResourceConfigurationException
aCasProcessorList - - list containing instantiated Cas ProcessorsaEngine - the CPM engineredeploy - - true when redeploying failed Cas Processororg.apache.uima.resource.ResourceConfigurationException - the resource configuration exceptionpublic ProcessingContainer deployCasProcessor(List aCasProcessorList, boolean redeploy) throws org.apache.uima.resource.ResourceConfigurationException
deployCasProcessor in interface CasProcessorDeployeraCasProcessorList - - list containing instantiated Cas Processorsredeploy - - true when redeploying failed Cas Processororg.apache.uima.resource.ResourceConfigurationException - the resource configuration exceptionpublic void deployCasProcessor(ProcessingContainer aProcessingContainer) throws org.apache.uima.resource.ResourceConfigurationException
deployCasProcessor in interface CasProcessorDeployeraProcessingContainer - -
container managing Cas Processororg.apache.uima.resource.ResourceConfigurationException - the resource configuration exceptionpublic void undeploy()
throws CasProcessorDeploymentException
undeploy in interface CasProcessorDeployerCasProcessorDeploymentExceptionpublic void undeploy(URL aURL) throws CasProcessorDeploymentException
undeploy in interface CasProcessorDeployerCasProcessorDeploymentExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.