Package | Description |
---|---|
org.jboss.osgi.framework | |
org.jboss.osgi.framework.internal | |
org.jboss.osgi.framework.spi |
Modifier and Type | Method and Description |
---|---|
IllegalStateException |
FrameworkMessages.illegalStateServiceUnregistered(ServiceState<?> serviceState) |
Modifier and Type | Method and Description |
---|---|
ServiceState<?> |
ServiceManagerImpl.getServiceReference(org.jboss.osgi.resolver.XBundle bundle,
String clazz)
Returns a
ServiceReference object for a service that implements and was registered under the specified
class. |
ServiceState |
ServiceManagerImpl.registerService(org.jboss.osgi.resolver.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<?>> |
ServiceManagerImpl.getServiceReferences(org.jboss.osgi.resolver.XBundle bundle,
String clazz,
String filterStr,
boolean checkAssignable)
Returns an array of
ServiceReference objects. |
Modifier and Type | Method and Description |
---|---|
void |
ServiceManagerImpl.fireServiceEvent(org.jboss.osgi.resolver.XBundle bundle,
int type,
ServiceState<?> serviceState) |
<S> S |
ServiceManagerImpl.getService(org.jboss.osgi.resolver.XBundle bundle,
ServiceState<S> serviceState)
Returns the service object referenced by the specified
ServiceReference object. |
boolean |
ServiceManagerImpl.ungetService(org.jboss.osgi.resolver.XBundle bundle,
ServiceState<?> serviceState)
Releases the service object referenced by the specified
ServiceReference object. |
void |
ServiceManagerImpl.unregisterService(ServiceState<?> serviceState)
Unregister the given service.
|
Modifier and Type | Method and Description |
---|---|
ServiceState<?> |
ServiceManager.getServiceReference(org.jboss.osgi.resolver.XBundle bundle,
String clazz)
Returns a
ServiceReference object for a service that implements and was registered under the specified
class. |
ServiceState |
ServiceManager.registerService(org.jboss.osgi.resolver.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(org.jboss.osgi.resolver.XBundle bundle,
String clazz,
String filterStr,
boolean checkAssignable)
Returns an array of
ServiceReference objects. |
Modifier and Type | Method and Description |
---|---|
void |
ServiceManager.fireServiceEvent(org.jboss.osgi.resolver.XBundle bundle,
int type,
ServiceState<?> serviceState) |
void |
FrameworkEvents.fireServiceEvent(org.jboss.osgi.resolver.XBundle bundle,
int type,
ServiceState<?> serviceState) |
<S> S |
ServiceManager.getService(org.jboss.osgi.resolver.XBundle bundle,
ServiceState<S> serviceState)
Returns the service object referenced by the specified
ServiceReference object. |
boolean |
ServiceManager.ungetService(org.jboss.osgi.resolver.XBundle bundle,
ServiceState<?> serviceState)
Releases the service object referenced by the specified
ServiceReference object. |
void |
ServiceManager.unregisterService(ServiceState<?> serviceState)
Unregister the given service.
|
Copyright © 2013 JBoss by Red Hat. All rights reserved.