Class InitMetadata

  • Direct Known Subclasses:
    JavaInitMetadata

    public class InitMetadata
    extends Object
    Defines the environment of a process that can be started in the background on an operating system.
    • Method Detail

      • getStartDir

        public String getStartDir()
        working directory when starting the server.
      • getStopDir

        public String getStopDir()
        working directory when stopping the server.
      • getPlatformHome

        public String getPlatformHome()
        Where the platform that this process is an instance of is located. This is analogous to the CATALINA_HOME on the tomcat platform.
      • getName

        public String getName()
        what uniquely identifies your process in a listing. Note that this will become a part of the process args.
      • getConfigDir

        public String getConfigDir()
        holds configuration files of the process. These are generated or copied from data in the gold copy directory.
      • getDataDir

        public String getDataDir()
        holds files that are generated at runtime, but are not temporary. Ex. customer data, state, etc. These files survive recreation of the instance.
      • getLogDir

        public String getLogDir()
        where all logs are written. The following files are created here:
        • stdout.log - where stdout is piped to upon start.
        • stderr.log - where stderr is piped to upon start.
        • pid.log - holds the process id, if the process is running.
      • getGoldDir

        public String getGoldDir()
        on-disk, read-only location of the artifacts needed to recreate this process.
      • getEndPoint

        public URI getEndPoint()
        the named ip and port that this process will bind server sockets to, as well the protocol used to test it.