|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.collection.impl.cpm.container.deployer.socket.SocketCasProcessorDeployer
public class SocketCasProcessorDeployer
Reference implementation of the 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 Summary | |
---|---|
SocketCasProcessorDeployer(ProcessControllerAdapter aController)
|
|
SocketCasProcessorDeployer(ProcessControllerAdapter aController,
CPEFactory aCpeFactory)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketCasProcessorDeployer(ProcessControllerAdapter aController, CPEFactory aCpeFactory)
public SocketCasProcessorDeployer(ProcessControllerAdapter aController)
Method Detail |
---|
public ProcessingContainer deployCasProcessor(java.util.List aCasProcessorList, CPMEngine aEngine, boolean redeploy) throws ResourceConfigurationException
-
- aCasProcessorList - list containing instantiated Cas Processors
ResourceConfigurationException
public ProcessingContainer deployCasProcessor(java.util.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 otherwise
ResourceConfigurationException
- -
failed to deploy Cas Processorpublic void deployCasProcessor(ProcessingContainer aProcessingContainer) throws ResourceConfigurationException
deployCasProcessor
in interface CasProcessorDeployer
aProcessingContainer
- -
ProcessingContainer managing deployed Cas Processor to redeploy
ResourceConfigurationException
- -
failed to deploy Cas Processorpublic void undeploy(java.net.URL aURL) throws CasProcessorDeploymentException
undeploy
in interface CasProcessorDeployer
CasProcessorDeploymentException
public void undeploy() throws CasProcessorDeploymentException
undeploy
in interface CasProcessorDeployer
CasProcessorDeploymentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |