org.apache.karaf.shell.console
Class AbstractAction
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
- All Implemented Interfaces:
- Action
- Direct Known Subclasses:
- HelpAction, OsgiCommandSupport
public abstract class AbstractAction
- extends Object
- implements Action
|
Field Summary |
protected org.slf4j.Logger |
log
|
protected org.apache.felix.service.command.CommandSession |
session
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
session
protected org.apache.felix.service.command.CommandSession session
AbstractAction
public AbstractAction()
execute
public Object execute(org.apache.felix.service.command.CommandSession session)
throws Exception
- Specified by:
execute in interface Action
- Throws:
Exception
doExecute
protected abstract Object doExecute()
throws Exception
- Throws:
Exception
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.