| 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 |
|---|---|
static <T> T |
ServiceLocator.awaitService(ModuleContext moduleContext,
Class<T> type) |
static <T> T |
ServiceLocator.awaitService(ModuleContext moduleContext,
Class<T> type,
String filterspec,
long timeout,
TimeUnit unit) |
static <T> T |
ServiceLocator.getRequiredService(ModuleContext moduleContext,
Class<T> type) |
static <T> T |
ServiceLocator.getService(ModuleContext moduleContext,
Class<T> type) |
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) |
| Constructor and Description |
|---|
URLStreamHandlerTracker(ModuleContext context)
Get an instance URLStreamHandlerTracker
|
Copyright © 2015 JBoss by Red Hat. All rights reserved.