| Package | Description |
|---|---|
| org.jboss.osgi.framework | |
| org.jboss.osgi.framework.spi |
| Modifier and Type | Method and Description |
|---|---|
IllegalStateException |
FrameworkMessages_$bundle.illegalStateServiceUnregistered(ServiceState serviceState) |
IllegalStateException |
FrameworkMessages.illegalStateServiceUnregistered(ServiceState<?> serviceState) |
| Modifier and Type | Method and Description |
|---|---|
ServiceState<?> |
ServiceManager.getServiceReference(XBundle bundle,
String clazz)
Returns a
ServiceReference object for a service that implements and was registered under the specified
class. |
ServiceState |
ServiceManager.registerService(XBundle bundle,
String[] classNames,
Object serviceValue,
Dictionary properties)
Registers the specified service object with the specified properties under the specified class names into the Framework.
|
| Modifier and Type | Method and Description |
|---|---|
List<ServiceState<?>> |
ServiceManager.getServiceReferences(XBundle bundle,
String clazz,
String filterStr,
boolean checkAssignable)
Returns an array of
ServiceReference objects. |
| Modifier and Type | Method and Description |
|---|---|
void |
FrameworkEvents.fireServiceEvent(XBundle bundle,
int type,
ServiceState<?> serviceState) |
void |
ServiceManager.fireServiceEvent(XBundle bundle,
int type,
ServiceState<?> serviceState) |
<S> S |
ServiceManager.getService(XBundle bundle,
ServiceState<S> serviceState)
Returns the service object referenced by the specified
ServiceReference object. |
boolean |
ServiceManager.ungetService(XBundle bundle,
ServiceState<?> serviceState)
Releases the service object referenced by the specified
ServiceReference object. |
void |
ServiceManager.unregisterService(ServiceState<?> serviceState)
Unregister the given service.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.