Class Loader


  • public class Loader
    extends Object
    Generic loader which constructs a classloader from all the jars found in some known locations and invokes the main method on a specified class. This allows us to avoid the construction of huge classpaths in the shell scripts that launch the server.
    Since:
    10.0
    Author:
    Tristan Tarrant <tristan@infinispan.org>
    • Field Detail

      • INFINISPAN_SERVER_HOME_PATH

        public static final String INFINISPAN_SERVER_HOME_PATH
        Property name indicating the path to the server installation. If unspecified, the current working directory will be used
        See Also:
        Constant Field Values
      • INFINISPAN_SERVER_ROOT_PATH

        public static final String INFINISPAN_SERVER_ROOT_PATH
        Property name indicating the path to the root of a server instance. If unspecified, defaults to the server directory under the server home.
        See Also:
        Constant Field Values
      • INFINISPAN_SERVER_LIB_PATH

        public static final String INFINISPAN_SERVER_LIB_PATH
        Property name indicating the paths to the server lib directories. If unspecified, defaults to the lib directory under the server root.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Loader

        public Loader()