public enum ConfigurableClassLoader extends 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 |
---|---|
ClassLoader |
getClassLoader()
Get the configured ClassLoader.
|
void |
setClassLoader(ClassLoader classLoader)
Overrides the default ClassLoader (the ClassLoader of this enum).
|
static ConfigurableClassLoader |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
classLoader
- The ClassLoader to set.Copyright © 2021. All rights reserved.