|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.testing.internal.OSGiBundleImpl
public abstract class OSGiBundleImpl
An abstract implementation of a OSGiBundle
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Return true if symbolic name and version are equal |
OSGiRuntime |
getRuntime()
Get the runtime associated with this bundle. |
int |
hashCode()
Returns the hash code for this bundle. |
void |
start()
Starts this bundle. |
protected abstract void |
startInternal()
|
void |
stop()
Stops this bundle. |
protected abstract void |
stopInternal()
|
String |
toString()
Returns the string representation of this bundle |
void |
uninstall()
Uninstalls this bundle. |
protected abstract void |
uninstallInternal()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.osgi.testing.OSGiBundle |
|---|
getBundleId, getDataFile, getEntry, getHeaders, getHeaders, getLocation, getProperty, getResource, getState, getSymbolicName, getVersion, loadClass |
| Method Detail |
|---|
public OSGiRuntime getRuntime()
OSGiBundle
getRuntime in interface OSGiBundle
public void start()
throws org.osgi.framework.BundleException
start in interface OSGiBundleorg.osgi.framework.BundleException
protected abstract void startInternal()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public void stop()
throws org.osgi.framework.BundleException
stop in interface OSGiBundleorg.osgi.framework.BundleException
protected abstract void stopInternal()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public void uninstall()
throws org.osgi.framework.BundleException
uninstall in interface OSGiBundleorg.osgi.framework.BundleException
protected abstract void uninstallInternal()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||