| Package | Description |
|---|---|
| org.jboss.gravia.runtime | |
| org.jboss.gravia.runtime.spi |
| Modifier and Type | Field and Description |
|---|---|
protected ModuleContext |
ServiceTracker.context
The Module Context used by this
ServiceTracker. |
protected ModuleContext |
ModuleTracker.context
The Module Context used by this
ModuleTracker. |
| Modifier and Type | Method and Description |
|---|---|
ModuleContext |
Runtime.getModuleContext()
Get the sytem module context.
|
ModuleContext |
Module.getModuleContext()
Returns this module's
ModuleContext. |
| Modifier and Type | Method and Description |
|---|---|
void |
ModuleActivator.start(ModuleContext context)
Called when this module is started so the Runtime can perform the
module-specific activities necessary to start this module.
|
void |
ModuleActivator.stop(ModuleContext context)
Called when this module is stopped so the Runtime can perform the
module-specific activities necessary to stop the module.
|
| Constructor and Description |
|---|
ModuleTracker(ModuleContext context,
ModuleTrackerCustomizer<T> customizer,
Module.State... states)
Create a
ModuleTracker for modules whose state is present in the
specified state mask. |
ServiceTracker(ModuleContext context,
Class<S> clazz,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified class. |
ServiceTracker(ModuleContext context,
Filter filter,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified Filter object. |
ServiceTracker(ModuleContext context,
ServiceReference<S> reference,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified ServiceReference
. |
ServiceTracker(ModuleContext context,
String clazz,
ServiceTrackerCustomizer<S,T> customizer)
Create a
ServiceTracker on the specified class name. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractModuleContext
The abstract base implementation for a
ModuleContext |
| Modifier and Type | Method and Description |
|---|---|
ModuleContext |
AbstractRuntime.getModuleContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuntimeEventsManager.fireModuleEvent(ModuleContext context,
Module module,
int type) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.