|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.management.ManagedBundle
public class ManagedBundle
The managed view of an OSGi Bundle
| Constructor Summary | |
|---|---|
ManagedBundle(org.osgi.framework.Bundle bundle)
|
|
| Method Summary | |
|---|---|
long |
getBundleId()
Returns this bundle's unique identifier. |
javax.management.ObjectName |
getObjectName()
Get the bundles object name. |
java.lang.String |
getProperty(java.lang.String key)
Returns the value of the specified property from the BundleContext. |
int |
getState()
Returns this bundle's current state. |
java.lang.String |
getSymbolicName()
Returns the symbolic name of this bundle as specified by its Bundle-SymbolicName manifest header |
void |
start()
Starts this bundle with no options |
void |
stop()
Stops this bundle with no options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedBundle(org.osgi.framework.Bundle bundle)
| Method Detail |
|---|
public javax.management.ObjectName getObjectName()
ManagedBundleMBean
getObjectName in interface ManagedBundleMBeanpublic java.lang.String getProperty(java.lang.String key)
RemoteBundle
getProperty in interface RemoteBundlepublic int getState()
RemoteBundle
getState in interface RemoteBundlepublic long getBundleId()
RemoteBundle
getBundleId in interface RemoteBundlepublic java.lang.String getSymbolicName()
RemoteBundle
getSymbolicName in interface RemoteBundle
public void start()
throws org.osgi.framework.BundleException
RemoteBundle
start in interface RemoteBundleorg.osgi.framework.BundleException
public void stop()
throws org.osgi.framework.BundleException
RemoteBundle
stop in interface RemoteBundleorg.osgi.framework.BundleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||