|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.capability.Capability
public abstract class Capability
An abstract OSGi capability that can be installed in an
OSGiRuntime.
The capability is only installed if the service name given in the constructor
is not already registered with the OSGi framework.
It maintains an ordered set of dependent capabilities and bundles that
must be installed to provide the functionality advertised by this capability.
| Constructor Summary | |
|---|---|
Capability(java.lang.String serviceName)
Construct a capability that is identified by the given service name. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getBundles()
|
java.util.List<Capability> |
getDependencies()
|
java.util.Properties |
getProperties()
Get system properties provided by this capability. |
java.lang.String |
getServiceName()
Get the service name associated with this capability. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Capability(java.lang.String serviceName)
OSGiRuntime
adding this capability does nothing.
| Method Detail |
|---|
public java.lang.String getServiceName()
public java.util.Properties getProperties()
public java.util.List<Capability> getDependencies()
public java.util.List<java.lang.String> getBundles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||