|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jonas.lib.service.manager.ServiceUtil
public final class ServiceUtil
This class provides facilities for managing the JOnAS services implemented as OSGI services.
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME_PROP
OSGI service property defined for all the JOnAS services, giving the service name for JOnAS management support. |
| Method Summary | |
|---|---|
static java.lang.String |
getJOnASService(org.osgi.framework.ServiceReference serviceReference)
If the given ServiceReference has the "jonas.service" property set, returns its value which represents the JOnAS service name. |
static java.util.List<java.lang.String> |
getRunningServices(org.osgi.framework.BundleContext bc)
Returns the names of the JOnAS services that are running on the OSGi platform. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVICE_NAME_PROP
| Method Detail |
|---|
public static java.lang.String getJOnASService(org.osgi.framework.ServiceReference serviceReference)
serviceReference - the ServiceReference
public static java.util.List<java.lang.String> getRunningServices(org.osgi.framework.BundleContext bc)
throws org.osgi.framework.InvalidSyntaxException
bc - The BundleContext
org.osgi.framework.InvalidSyntaxException - Cannot get the OSGi services
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||