|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.apache.karaf.shell.packages.PackageCommandSupport
public abstract class PackageCommandSupport
Abstract class from which all commands related to the PackageAdmin service should derive. This command retrieves a reference to the PackageAdmin service before calling another method to actually process the command.
Field Summary |
---|
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
---|
bundleContext, usedReferences |
Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
---|
log, session |
Constructor Summary | |
---|---|
PackageCommandSupport()
|
Method Summary | |
---|---|
protected java.lang.Object |
doExecute()
|
protected abstract void |
doExecute(org.osgi.service.packageadmin.PackageAdmin admin)
|
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
---|
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageCommandSupport()
Method Detail |
---|
protected java.lang.Object doExecute() throws Exception
doExecute
in class AbstractAction
Exception
protected abstract void doExecute(org.osgi.service.packageadmin.PackageAdmin admin) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |