|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.testing.OSGiBundle
public abstract class OSGiBundle
An abstraction of an OSGi Bundle.
| Constructor Summary | |
|---|---|
OSGiBundle()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Return true if symbolic name and version are equal |
abstract long |
getBundleId()
Returns this bundle's unique identifier. |
abstract java.util.Dictionary<java.lang.String,java.lang.String> |
getHeaders()
Returns this bundle's Manifest headers and values. |
abstract java.lang.String |
getLocation()
Returns this bundle's location. |
abstract java.lang.String |
getProperty(java.lang.String key)
Returns the value of the specified property. |
abstract OSGiRuntime |
getRuntime()
Get the runtime associated with this bundle. |
abstract int |
getState()
Returns this bundle's current state. |
abstract java.lang.String |
getSymbolicName()
Returns the symbolic name of this bundle as specified by its Bundle-SymbolicName manifest header. |
abstract Version |
getVersion()
Returns the version of this bundle. |
int |
hashCode()
Returns the hash code for this bundle. |
abstract void |
start()
Starts this bundle. |
abstract void |
stop()
Stops this bundle. |
java.lang.String |
toString()
Returns the string representation of this bundle |
abstract void |
uninstall()
Uninstalls this bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiBundle()
| Method Detail |
|---|
public abstract OSGiRuntime getRuntime()
public abstract long getBundleId()
public abstract java.lang.String getSymbolicName()
public abstract Version getVersion()
public abstract java.lang.String getLocation()
public abstract java.util.Dictionary<java.lang.String,java.lang.String> getHeaders()
public abstract int getState()
public abstract java.lang.String getProperty(java.lang.String key)
public abstract void start()
throws BundleException
BundleException
public abstract void stop()
throws BundleException
BundleException
public abstract void uninstall()
throws BundleException
BundleExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||