org.apache.servicemix.nmr.audit.commands
Class AuditCommandSupport

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.servicemix.nmr.audit.commands.AuditCommandSupport
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware
Direct Known Subclasses:
CountCommand, DeleteCommand, ExchangesCommand, FindCommand, IdsCommand

public abstract class AuditCommandSupport
extends org.apache.karaf.shell.console.OsgiCommandSupport

Base class for audit commands


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
AuditCommandSupport()
           
 
Method Summary
protected  Object doExecute()
           
protected abstract  Object doExecute(AuditorMBean auditor)
           
protected  AuditorMBean getAuditor()
           
 
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

AuditCommandSupport

public AuditCommandSupport()
Method Detail

getAuditor

protected AuditorMBean getAuditor()

doExecute

protected Object doExecute()
                    throws Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
Exception

doExecute

protected abstract Object doExecute(AuditorMBean auditor)
                             throws Exception
Throws:
Exception


Copyright © 2005-2012 FuseSource. All Rights Reserved.