Interface SpawnedContainer

    • Method Detail

      • setExtraClasspath

        void setExtraClasspath​(String[] classpath)
        Parameters:
        classpath - the extra classpath that is added to the container's classpath when it is started.
      • addExtraClasspath

        void addExtraClasspath​(String location)
        Parameters:
        location - the extra classpath that is added to the container's classpath when it is started.
      • getExtraClasspath

        String[] getExtraClasspath()
        Returns:
        the extra classpath that is added to the container's classpath when it is started.
      • setSharedClasspath

        void setSharedClasspath​(String[] classpath)
        Parameters:
        classpath - the shared classpath that is shared by the container applications.
      • addSharedClasspath

        void addSharedClasspath​(String location)
        Parameters:
        location - the shared classpath that is added to the container's classpath when it is started.
      • getSharedClasspath

        String[] getSharedClasspath()
        Returns:
        the extra classpath that is shared by the container applications.
      • setSystemProperties

        void setSystemProperties​(Map<String,​String> properties)
        Parameters:
        properties - the System properties to set in the container executing VM.
      • getSystemProperties

        Map<String,​String> getSystemProperties()
        Returns:
        the System properties to set in the container executing VM.
      • setJvmLauncherFactory

        void setJvmLauncherFactory​(JvmLauncherFactory jvmLauncherFactory)
        Sets the factory used to spawn the container JVM.
        Parameters:
        jvmLauncherFactory - The factory used to spawn the container JVM, must not be null.
      • getJvmLauncherFactory

        JvmLauncherFactory getJvmLauncherFactory()
        Gets the factory used to spawn the container JVM.
        Returns:
        The factory used to spawn the container JVM, never null.