| 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 |
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.
|
Module |
WebAppContextListener.installWebappModule(Runtime runtime,
javax.servlet.ServletContext servletContext) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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) |
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) |
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) |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.