public class OsgiManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.Boolean> |
USE_OSGI |
Constructor and Description |
---|
OsgiManager() |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getResource(java.lang.String name,
java.lang.Iterable<java.lang.String> bundleUrlsOrNameVersionString) |
void |
registerBundle(java.lang.String bundleUrl) |
void |
start() |
void |
stop() |
<T> Maybe<java.lang.Class<T>> |
tryResolveClass(java.lang.String type,
java.lang.Iterable<java.lang.String> bundleUrlsOrNameVersionString) |
<T> Maybe<java.lang.Class<T>> |
tryResolveClass(java.lang.String type,
java.lang.String... bundleUrlsOrNameVersionString) |
public static final ConfigKey<java.lang.Boolean> USE_OSGI
public void start()
public void stop()
public void registerBundle(java.lang.String bundleUrl)
public <T> Maybe<java.lang.Class<T>> tryResolveClass(java.lang.String type, java.lang.String... bundleUrlsOrNameVersionString)
public <T> Maybe<java.lang.Class<T>> tryResolveClass(java.lang.String type, java.lang.Iterable<java.lang.String> bundleUrlsOrNameVersionString)
public java.net.URL getResource(java.lang.String name, java.lang.Iterable<java.lang.String> bundleUrlsOrNameVersionString)