Modifier and Type | Class and Description |
---|---|
class |
Feature
A Feature represents an optional part of an application that adds new features and services.
|
class |
Kernel
The Kernel represents the atomic part of an application.
|
Modifier and Type | Method and Description |
---|---|
static Module |
Kernel.getContextOwner()
Returns the owner of the current thread context.
|
static Module |
Kernel.getOwner(java.lang.Object o)
Returns the owner of the given
Object . |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Kernel.clone(T from,
Module toOwner)
Creates and returns a copy of the given object, so that the newly created object is owned by the given
Module . |
static <T> Proxy<T> |
Kernel.newProxy(T ref,
Module owner)
Allocates a new
Proxy and sets its reference to the given object. |
static void |
Kernel.runUnderContext(Module contextOwner,
java.lang.Runnable runnable)
Calls the
Runnable.run() method with current context set to the given Module . |