Interface ProcessControllerAdapter
-
public interface ProcessControllerAdapterInterface for the custom deployer component responsible for launching and terminating fenced CasProcessors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URL[]deploy(java.lang.String aCasProcessorName, int howMany)Deploys given number of CasProcessors and returns their endpoint configuration( host,port).voidundeploy(java.net.URL aURL)Stops a given CasProcessor service.
-
-
-
Method Detail
-
deploy
java.net.URL[] deploy(java.lang.String aCasProcessorName, int howMany) throws java.lang.ExceptionDeploys given number of CasProcessors and returns their endpoint configuration( host,port). This method blocks until all Connections are resolved or an error occurs.- Parameters:
aCasProcessorName- -name of the fenced CasProcessorhowMany- - how many CasProcessor instances to deploy- Returns:
- URL[] - list of URLs containing endpoint info
- Throws:
java.lang.Exception- the exception
-
undeploy
void undeploy(java.net.URL aURL)
Stops a given CasProcessor service.- Parameters:
aURL- - service endpoint.
-
-