Interface ProcessControllerAdapter


  • public interface ProcessControllerAdapter
    Interface 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
      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 Detail

      • 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 - Failure to start fenced CasProcessor
      • undeploy

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