|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ungoverned.oscar.OSGiSelectionPolicy
public class OSGiSelectionPolicy
| Constructor Summary | |
|---|---|
OSGiSelectionPolicy(Oscar oscar)
|
|
| Method Summary | |
|---|---|
void |
moduleAdded(ModuleEvent event)
This method is called after a module is added to the ModuleManager. |
void |
moduleRemoved(ModuleEvent event)
This method is called after a module is remove from the ModuleManager. |
void |
moduleReset(ModuleEvent event)
This method is called after a module has been reset by the ModuleManager. |
Module |
select(Module module,
java.lang.Object identifier,
java.lang.Object v,
Module[] candidates,
CompatibilityPolicy compatPolicy)
Selects a single module to resolve the specified import from the array of compatible candidate modules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiSelectionPolicy(Oscar oscar)
| Method Detail |
|---|
public Module select(Module module,
java.lang.Object identifier,
java.lang.Object v,
Module[] candidates,
CompatibilityPolicy compatPolicy)
select in interface SelectionPolicymodule - the module that is importing the target.identifier - the identifier of the import target.version - the version number of the import target.candidates - array of compatible candidate modules from which to choose.compatPolicy - the compatibility policy that is being used.
public void moduleAdded(ModuleEvent event)
ModuleListenerThis method is called after a module is added to the ModuleManager.
moduleAdded in interface ModuleListenerevent - the event object containing the event details.public void moduleReset(ModuleEvent event)
ModuleListenerThis method is called after a module has been reset by the ModuleManager.
moduleReset in interface ModuleListenerevent - the event object containing the event details.public void moduleRemoved(ModuleEvent event)
ModuleListenerThis method is called after a module is remove from the ModuleManager.
moduleRemoved in interface ModuleListenerevent - the event object containing the event details.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||