Class StandardClient

java.lang.Object
org.cristalise.kernel.process.AbstractMain
org.cristalise.kernel.process.StandardClient
Direct Known Subclasses:
ClientShell, UserCodeProcess

public abstract class StandardClient extends AbstractMain
  • Field Details

  • Constructor Details

    • StandardClient

      public StandardClient()
  • Method Details

    • createClientVerticles

      public static void createClientVerticles()
    • login

      protected void login(String agentName, String agentPass, String resource) throws InvalidDataException
      Parameters:
      agentName -
      agentPass -
      resource -
      Throws:
      InvalidDataException
    • getRequiredStateMachine

      protected static StateMachine getRequiredStateMachine(String propPrefix, String namesSpaceDefault, String bootfileDefault) throws InvalidDataException
      CRISTAL-iSE clients could use the StateMachine information to implement application logic. This method loads the required StateMachine using different cristal-ise configuration.
      Parameters:
      propPrefix - the Property Name prefix to find client specific configuration
      namesSpaceDefault - default value to load bootstrap file if no configuration was provided
      bootfileDefault - default value to load bootstrap file if no configuration was provided
      Returns:
      the initialised StateMachine object
      Throws:
      InvalidDataException - Missing/Incorrect configuration data
    • standardInitialisation

      public static void standardInitialisation(Properties props, ResourceLoader res) throws Exception
      Throws:
      Exception
    • standardInitialisation

      public static void standardInitialisation(String[] args) throws Exception
      Throws:
      Exception