public enum ConfigurableClassLoader extends java.lang.Enum<ConfigurableClassLoader>
setClassLoader(ClassLoader) method before calling any ROME code. Unfortunately I don't
know whether this works because I have absolutely no experience with OSGi.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.ClassLoader |
getClassLoader()
Get the configured ClassLoader.
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Overrides the default ClassLoader (the ClassLoader of this enum).
|
static ConfigurableClassLoader |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurableClassLoader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurableClassLoader INSTANCE
public static ConfigurableClassLoader[] values()
for (ConfigurableClassLoader c : ConfigurableClassLoader.values()) System.out.println(c);
public static ConfigurableClassLoader valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - The ClassLoader to set.Copyright © 2025. All rights reserved.