| Package | Description |
|---|---|
| org.jboss.gravia.runtime |
| Modifier and Type | Method and Description |
|---|---|
<S> ServiceRegistration<S> |
ModuleContext.registerService(Class<S> clazz,
S service,
Dictionary<String,?> properties)
Registers the specified service object with the specified properties
under the name of the specified class with the Runtime.
|
ServiceRegistration<?> |
ModuleContext.registerService(String[] classNames,
Object service,
Dictionary<String,?> properties)
Registers the specified service object with the specified properties
under the specified class names into the Runtime.
|
ServiceRegistration<?> |
ModuleContext.registerService(String className,
Object service,
Dictionary<String,?> properties)
Registers the specified service object with the specified properties
under the specified class name with the Runtime.
|
| Modifier and Type | Method and Description |
|---|---|
S |
ServiceFactory.getService(Module module,
ServiceRegistration<S> registration)
Creates a new service object.
|
void |
ServiceFactory.ungetService(Module module,
ServiceRegistration<S> registration,
S service)
Releases a service object.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.