|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Plugin
| Method Summary | |
|---|---|
Collection<BindingRequest> |
bindingRequests()
List of bind request. |
Collection<ClasspathScanRequest> |
classpathScanRequests()
List of classpath request needed by this plugin. |
Set<URL> |
computeAdditionalClasspathScan()
The kernel allows the plugin to compute additional classpath to scan. |
DependencyInjectionProvider |
dependencyInjectionProvider()
return a dependency injection provider to the kernel. |
Collection<Class<? extends Plugin>> |
dependentPlugins()
list of plugins that become dependent on "this" plugin. |
String |
description()
The description of the plugin. |
void |
destroy()
Lifecycle method: destroy() |
InitState |
init(InitContext initContext)
Lifecycle method: init() |
Map<String,String> |
kernelParametersAliases()
Re return a Map which contains - key :the alias to create |
Collection<KernelParamsRequest> |
kernelParamsRequests()
list of kernel params needed by this plugins, required by this plugin. |
String |
name()
The name of the plugin. |
UnitModule |
overridingUnitModule()
This object will contains bindings definition that will override the main dependency ones. |
String |
pluginPackageRoot()
The package root(s) from where the nuun core will scan for annotation. |
String |
pluginPropertiesPrefix()
The prefix for all the properties for this plugin. |
void |
provideContainerContext(Object containerContext)
Practical method to retrieve the container context as it is passed as argument. |
void |
provideRoundEnvironment(RoundEnvironment roundEnvironment)
Round Environment provides information regarding the current round to the plugin. |
Collection<Class<? extends Plugin>> |
requiredPlugins()
list of plugins dependencies required by this plugin. |
void |
start(Context context)
Lifecycle method: start() |
void |
stop()
Lifecycle method: stop() |
UnitModule |
unitModule()
Return an object that will contains the dependency injection definitions. |
| Method Detail |
|---|
InitState init(InitContext initContext)
void start(Context context)
void stop()
void destroy()
String name()
String description()
Collection<KernelParamsRequest> kernelParamsRequests()
Collection<ClasspathScanRequest> classpathScanRequests()
Collection<BindingRequest> bindingRequests()
Collection<Class<? extends Plugin>> requiredPlugins()
Collection<Class<? extends Plugin>> dependentPlugins()
String pluginPropertiesPrefix()
String pluginPackageRoot()
UnitModule unitModule()
DependencyInjectionProvider that handle it.
UnitModule overridingUnitModule()
DependencyInjectionProvider if keys match.
void provideContainerContext(Object containerContext)
containerContext - the context of the containerSet<URL> computeAdditionalClasspathScan()
DependencyInjectionProvider dependencyInjectionProvider()
Map<String,String> kernelParametersAliases()
- key :the alias to create. - value : kernel parameter to alias.
void provideRoundEnvironment(RoundEnvironment roundEnvironment)
roundEnvironment - the round
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||