Class Loader

java.lang.Object
org.infinispan.server.loader.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 Details

    • 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:
    • 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:
    • 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:
    • DEFAULT_SERVER_ROOT_DIR

      public static final String DEFAULT_SERVER_ROOT_DIR
      See Also:
  • Constructor Details

    • Loader

      public Loader()
  • Method Details