org.apache.karaf.admin.command
Class AdminCommandSupport

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.karaf.admin.command.AdminCommandSupport
All Implemented Interfaces:
Action, BundleContextAware
Direct Known Subclasses:
ChangeOptsCommand, ChangeRmiRegistryPortCommand, ChangeSshPortCommand, ConnectCommand, CreateCommand, DestroyCommand, ListCommand, RenameCommand, StartCommand, StopCommand

public abstract class AdminCommandSupport
extends OsgiCommandSupport


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
AdminCommandSupport()
           
 
Method Summary
 AdminService getAdminService()
           
protected  Instance getExistingInstance(java.lang.String name)
           
 void setAdminService(AdminService adminService)
           
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class org.apache.karaf.shell.console.AbstractAction
doExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminCommandSupport

public AdminCommandSupport()
Method Detail

getAdminService

public AdminService getAdminService()

setAdminService

public void setAdminService(AdminService adminService)

getExistingInstance

protected Instance getExistingInstance(java.lang.String name)


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.