Method Summary |
|
public static void | addChildEnvironmentListener(EnvironmentListener listener) Add listener. |
public static void | addChildEnvironmentListener(EnvironmentListener listener, ClassLoader loader) Add listener. |
public static void | addChildLoaderListener(AddLoaderListener listener) Add listener. |
public static void | addChildLoaderListener(AddLoaderListener listener, ClassLoader loader) Add listener. |
public static void | addClassLoaderListener(ClassLoaderListener listener) Add listener. |
public static void | addClassLoaderListener(ClassLoaderListener listener, ClassLoader loader) Add listener. |
public static void | addCloseListener(Object obj) Add close listener. |
public static void | addDependency(Dependency depend) Adds a dependency to the current environment. |
public static void | addDependency(Dependency depend, ClassLoader loader) Adds a dependency to the current environment. |
public static void | addDependency(Path path) Adds a dependency to the current environment. |
public static void | addDependency(Path path, ClassLoader loader) Adds a dependency to the current environment. |
public static void | addEnvironmentListener(EnvironmentListener listener) Add listener. |
public static void | addEnvironmentListener(EnvironmentListener listener, ClassLoader loader) Add listener. |
public static void | addPermission(Permission perm) Adds a permission to the current environment.
Parameters: perm - the permission to add. |
public static void | addPermission(Permission perm, ClassLoader loader) Adds a permission to the current environment.
Parameters: perm - the permission to add. |
public static void | closeGlobal() destroys the current environment. |
public static Object | getAttribute(String name) Gets a local variable for the current environment. |
public static Object | getAttribute(String name, ClassLoader loader) Gets a local variable for the current environment. |
public static Throwable | getConfigException() Returns any configuration exception. |
public static long | getDependencyCheckInterval() Returns the current dependency check interval. |
public static long | getDependencyCheckInterval(ClassLoader loader) Returns the current dependency check interval. |
public static DynamicClassLoader | getDynamicClassLoader() Returns the topmost dynamic class loader. |
public static DynamicClassLoader | getDynamicClassLoader(ClassLoader loader) Returns the topmost dynamic class loader. |
public static EnvironmentClassLoader | getEnvironmentClassLoader() Returns the local environment. |
public static EnvironmentClassLoader | getEnvironmentClassLoader(ClassLoader loader) Returns the local environment. |
public static String | getEnvironmentName() Returns the environment name. |
public static Object | getLevelAttribute(String name) Gets a local variable for the current environment. |
public static Object | getLevelAttribute(String name, ClassLoader loader) Gets a local variable for the current environment. |
public static String | getLocalClassPath() Returns the classpath for the environment level. |
public static String | getLocalClassPath(ClassLoader loader) Returns the classpath for the environment level. |
public static Object | getOwner() Gets the class loader owner. |
public static Object | getOwner(ClassLoader loader) Gets the class loader owner. |
public static void | init() Starts the current environment. |
public static void | init(ClassLoader loader) Starts the current environment. |
public static void | removeEnvironmentListener(EnvironmentListener listener) Remove listener. |
public static void | removeEnvironmentListener(EnvironmentListener listener, ClassLoader loader) Remove listener. |
public static Object | setAttribute(String name, Object value) Sets a local variable for the current environment. |
public static Object | setAttribute(String name, Object value, ClassLoader loader) Sets a local variable for the current environment. |
public static void | setConfigException(Throwable e) Sets a configuration exception. |
public static void | start() Starts the current environment. |
public static void | start(ClassLoader loader) Starts the current environment. |
public static void | stop() Starts the current environment. |
public static void | stop(ClassLoader loader) Starts the current environment. |