public interface GlobalContext
Modifier and Type | Method and Description |
---|---|
PluginContextID |
createNewPluginContextID()
The GlobalContext implementation should create IDs for all PluginContexts
instantiated for it.
|
ConnectionManager |
getConnectionManager()
Returns the connection manager.
|
java.lang.Class<? extends PluginContext> |
getPluginContextType()
Returns the specific type of the PluginContext.
|
PluginManager |
getPluginManager()
Returns the plugin manager.
|
ProvidedObjectManager |
getProvidedObjectManager()
Returns the providedObject manager.
|
void |
invokeBinding(PluginParameterBinding binding,
java.lang.Object... objects)
This method invokes the specified binding in a context which is a child
of the main plugin context maintained by this globalContext.
|
void |
invokePlugin(PluginDescriptor plugin,
int index,
java.lang.Object... objects)
This method invokes the specified plugin in a context which is a child of
the main plugin context maintained by this globalContext.
|
PluginManager getPluginManager()
ProvidedObjectManager getProvidedObjectManager()
ConnectionManager getConnectionManager()
PluginContextID createNewPluginContextID()
void invokePlugin(PluginDescriptor plugin, int index, java.lang.Object... objects)
plugin
- The plugin that should be invoked by the frameworkindex
- The index of the plugin method that should be invoked.objects
- The objects to serve as input as accepted by the method at
index of the pluginvoid invokeBinding(PluginParameterBinding binding, java.lang.Object... objects)
binding
- The binding that should be invoked by the frameworkobjects
- The objects to serve as input as accepted by the given
binding.java.lang.Class<? extends PluginContext> getPluginContextType()