|
||||||||||
| 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. |
java.util.Dictionary<java.lang.String,java.lang.String> |
getHeaders()
Returns the bundle manifest headers |
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)
ManagedBundleMBean
getProperty in interface ManagedBundleMBeanpublic int getState()
ManagedBundleMBean
getState in interface ManagedBundleMBeanpublic long getBundleId()
ManagedBundleMBean
getBundleId in interface ManagedBundleMBeanpublic java.lang.String getSymbolicName()
ManagedBundleMBean
getSymbolicName in interface ManagedBundleMBeanpublic java.util.Dictionary<java.lang.String,java.lang.String> getHeaders()
ManagedBundleMBean
getHeaders in interface ManagedBundleMBean
public void start()
throws org.osgi.framework.BundleException
ManagedBundleMBean
start in interface ManagedBundleMBeanorg.osgi.framework.BundleException
public void stop()
throws org.osgi.framework.BundleException
ManagedBundleMBean
stop in interface ManagedBundleMBeanorg.osgi.framework.BundleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||