| Package | Description |
|---|---|
| org.jboss.gravia.runtime | |
| org.jboss.gravia.runtime.spi |
| Modifier and Type | Method and Description |
|---|---|
Module |
ServiceReference.getModule()
Returns the module that registered the service referenced by this
ServiceReference object. |
Module |
ModuleEvent.getModule()
Returns the module which had a lifecycle change.
|
Module |
ModuleContext.getModule()
Get the module associated with this context
|
Module |
Runtime.getModule(ClassLoader classLoader)
Returns a module that is associated with the specified class loader.
|
Module |
Runtime.getModule(long id)
Returns the module with the specified identifier.
|
Module |
Runtime.getModule(org.jboss.gravia.resource.ResourceIdentity identity)
Returns the module with the specified resource identity.
|
Module[] |
ModuleTracker.getModules()
Return an array of
Modules for all modules being tracked by this
ModuleTracker. |
Module |
Runtime.installModule(ClassLoader classLoader,
Dictionary<String,String> headers)
Installs a module with the given ClassLoader and headers dictionary.
|
Module |
Runtime.installModule(ClassLoader classLoader,
org.jboss.gravia.resource.Resource resource,
Dictionary<String,String> headers)
Installs a module with the given ClassLoader.
|
Module |
Runtime.installModule(ClassLoader classLoader,
org.jboss.gravia.resource.Resource resource,
Dictionary<String,String> headers,
org.jboss.gravia.resource.Attachable context)
Installs a module with the given ClassLoader.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Module> |
Runtime.getModules()
Returns the set of all installed modules.
|
Set<Module> |
Runtime.getModules(ClassLoader classLoader)
Returns the set of installed modules associated with the given class loader.
|
Set<Module> |
Runtime.getModules(String symbolicName,
org.jboss.gravia.resource.VersionRange range)
Returns the set of installed modules with a given symbolic name or version.
|
Map<Module,T> |
ModuleTracker.getTracked()
Return a
Map with the Modules and customized objects for
all modules being tracked by this ModuleTracker. |
| Modifier and Type | Method and Description |
|---|---|
T |
ModuleTrackerCustomizer.addingModule(Module module,
ModuleEvent event)
A module is being added to the
ModuleTracker. |
T |
ModuleTracker.addingModule(Module module,
ModuleEvent event)
Default implementation of the
ModuleTrackerCustomizer.addingModule method. |
T |
ModuleTracker.getObject(Module module)
Returns the customized object for the specified
Module if the
specified module is being tracked by this ModuleTracker. |
S |
ServiceFactory.getService(Module module,
ServiceRegistration<S> registration)
Creates a new service object.
|
boolean |
ServiceReference.isAssignableTo(Module module,
String className)
Tests if the module that registered the service referenced by this
ServiceReference and the specified module use the same source for
the package of the specified class name. |
void |
ModuleTrackerCustomizer.modifiedModule(Module module,
ModuleEvent event,
T object)
A module tracked by the
ModuleTracker has been modified. |
void |
ModuleTracker.modifiedModule(Module module,
ModuleEvent event,
T object)
Default implementation of the
ModuleTrackerCustomizer.modifiedModule method. |
void |
ModuleTracker.remove(Module module)
Remove a module from this
ModuleTracker. |
void |
ModuleTrackerCustomizer.removedModule(Module module,
ModuleEvent event,
T object)
A module tracked by the
ModuleTracker has been removed. |
void |
ModuleTracker.removedModule(Module module,
ModuleEvent event,
T object)
Default implementation of the
ModuleTrackerCustomizer.removedModule method. |
void |
ServiceFactory.ungetService(Module module,
ServiceRegistration<S> registration,
S service)
Releases a service object.
|
| Constructor and Description |
|---|
ModuleEvent(int type,
Module module)
Creates a module event of the specified type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractModule
The abstract base implementaiton for all
Modules. |
| Modifier and Type | Method and Description |
|---|---|
Module |
AbstractModuleContext.getModule() |
Module |
AbstractRuntime.getModule(ClassLoader classLoader) |
Module |
AbstractRuntime.getModule(long id) |
Module |
AbstractRuntime.getModule(org.jboss.gravia.resource.ResourceIdentity identity) |
Module |
AbstractRuntime.installModule(ClassLoader classLoader,
Dictionary<String,String> headers) |
Module |
AbstractRuntime.installModule(ClassLoader classLoader,
org.jboss.gravia.resource.Resource resource,
Dictionary<String,String> headers) |
Module |
AbstractRuntime.installModule(ClassLoader classLoader,
org.jboss.gravia.resource.Resource resource,
Dictionary<String,String> headers,
org.jboss.gravia.resource.Attachable context) |
Module |
RuntimePlugin.installPluginModule(Runtime runtime,
ClassLoader classLoader)
Installs the plugin provided module.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Module> |
AbstractRuntime.getModules() |
Set<Module> |
AbstractRuntime.getModules(ClassLoader classLoader) |
Set<Module> |
AbstractRuntime.getModules(String symbolicName,
org.jboss.gravia.resource.VersionRange range) |
| Modifier and Type | Method and Description |
|---|---|
void |
RuntimeEventsManager.addModuleListener(Module module,
ModuleListener listener) |
void |
RuntimeEventsManager.addServiceListener(Module module,
ServiceListener listener,
String filterstr) |
static AbstractModule |
AbstractModule.assertAbstractModule(Module module) |
void |
RuntimeEventsManager.fireModuleEvent(ModuleContext context,
Module module,
int type) |
void |
RuntimeEventsManager.fireModuleEvent(Module module,
int type) |
void |
RuntimeEventsManager.fireServiceEvent(Module module,
int type,
ServiceReference<?> reference) |
protected abstract Bundle |
AbstractModule.getBundleAdaptor(Module module) |
protected abstract ModuleEntriesProvider |
AbstractRuntime.getDefaultEntriesProvider(Module module,
org.jboss.gravia.resource.Attachable context) |
void |
RuntimeEventsManager.removeBundleListeners(Module moduleState) |
void |
RuntimeEventsManager.removeModuleListener(Module module,
ModuleListener listener) |
void |
RuntimeEventsManager.removeServiceListener(Module moduleState,
ServiceListener listener) |
void |
RuntimeEventsManager.removeServiceListeners(Module moduleState) |
protected void |
AbstractRuntime.uninstallModule(Module module) |
| Constructor and Description |
|---|
AbstractModuleContext(Module module) |
ClassLoaderEntriesProvider(Module module) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.