Interface ProcessControllerAdapter


public interface ProcessControllerAdapter
Interface for the custom deployer component responsible for launching and terminating fenced CasProcessors.
  • Method Summary

    Modifier and Type
    Method
    Description
    URL[]
    deploy(String aCasProcessorName, int howMany)
    Deploys given number of CasProcessors and returns their endpoint configuration( host,port).
    void
    undeploy(URL aURL)
    Stops a given CasProcessor service.
  • Method Details

    • deploy

      URL[] deploy(String aCasProcessorName, int howMany) throws Exception
      Deploys 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 CasProcessor
      howMany - - how many CasProcessor instances to deploy
      Returns:
      URL[] - list of URLs containing endpoint info
      Throws:
      Exception - the exception
    • undeploy

      void undeploy(URL aURL)
      Stops a given CasProcessor service.
      Parameters:
      aURL - - service endpoint.