|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Kernel
The Kernel is the main component of the I.O.C. technical stack.
| Field Summary | |
|---|---|
static String |
KERNEL_PREFIX_NAME
|
static String |
NUUN_CP_PATH_PREFIX
|
static String |
NUUN_CP_STRATEGY_ADD
|
static String |
NUUN_CP_STRATEGY_NAME
|
static String |
NUUN_NUM_CP_PATH
|
static String |
NUUN_ROOT_PACKAGE
|
| Method Summary | |
|---|---|
GlobalModule |
globalModule()
After the kernel is initialized, if necessary, one can ask for the global Module the result of all plugins UnitModule aggregation. |
void |
init()
Tell the kernel to initialize. |
boolean |
isInitialized()
Indication on whether or not the kernel is initialized. |
boolean |
isStarted()
Indication on whether or not the kernel is started. |
String |
name()
The name of the kernel is determined with its |
UnitModule |
nonGuiceOverridingUnitModule(Class<? extends Plugin> plugin)
After the kernel is initialized, one can ask for the particular Overriding UnitModule created by one plugin. |
UnitModule |
nonGuiceUnitModule(Class<? extends Plugin> plugin)
After the kernel is initialized, one can ask for the particular UnitModule created by one plugin. |
ObjectGraph |
objectGraph()
After the kernel is started, one can ask the ObjectGraph generated from the global module itself generated by all the modules the plugins create. |
UnitModule |
overridingUnitModule(Class<? extends Plugin> plugin)
After the kernel is initialized, one can ask for the particular Overriding UnitModule created by one plugin. |
List<Plugin> |
plugins()
After the kernel is initialized, if necessary, one can ask for the list of the plugins. |
void |
start()
Tell the kernel to start. |
void |
stop()
This methods will stop all the plugins in the reverse order of the started plugins. |
UnitModule |
unitModule(Class<? extends Plugin> plugin)
After the kernel is initialized, one can ask for the particular UnitModule created by one plugin. |
| Field Detail |
|---|
static final String NUUN_ROOT_PACKAGE
static final String NUUN_NUM_CP_PATH
static final String NUUN_CP_PATH_PREFIX
static final String NUUN_CP_STRATEGY_NAME
static final String NUUN_CP_STRATEGY_ADD
static final String KERNEL_PREFIX_NAME
| Method Detail |
|---|
String name()
void init()
Plugins will the create an intermediate UnitModule.
boolean isInitialized()
List<Plugin> plugins()
This will rarely be the case. We advise developers to be careful with plugins.
UnitModule unitModule(Class<? extends Plugin> plugin)
This will rarely be the case. We advise developers to be careful with plugins.
plugin - this is the plugin from which we want the UnitModule.
UnitModule overridingUnitModule(Class<? extends Plugin> plugin)
This will rarely be the case. We advise developers to be careful with plugins.
plugin - this is the plugin from which we want the UnitModule.
UnitModule nonGuiceUnitModule(Class<? extends Plugin> plugin)
Some times the plugin can return a native module that is not a Guice Module (the internal used D.I. engine).
Non Guice Module are handled via DependencyInjectionProvider.
This will rarely be the case. We advise developers to be careful with plugins.
plugin - this is the plugin from which we want the UnitModule.
UnitModule nonGuiceOverridingUnitModule(Class<? extends Plugin> plugin)
Some time the plugin can return a native module that is not a Guice Module (the internal used D.I. engine).
Non Guice Module are handled via DependencyInjectionProvider.
This will rarely be the case. We advise developers to be careful with plugins.
plugin - this is the plugin from which we want the UnitModule.
GlobalModule globalModule()
UnitModule aggregation.
This will rarely be the case. We advise developers to be careful with plugins.
void start()
The injector is created by combining nominal global modules and global modules to override.
boolean isStarted()
ObjectGraph objectGraph()
void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||