org.apache.geronimo.commands
Class InstallPluginCommand

java.lang.Object
  extended by org.apache.geronimo.gshell.command.CommandSupport
      extended by org.apache.geronimo.commands.ConnectCommand
          extended by org.apache.geronimo.commands.InstallPluginCommand
All Implemented Interfaces:
org.apache.geronimo.gshell.command.Command

public class InstallPluginCommand
extends ConnectCommand

Install a plugin.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.command.Command
org.apache.geronimo.gshell.command.Command.Result
 
Field Summary
 
Fields inherited from class org.apache.geronimo.commands.ConnectCommand
SERVER_CONNECTION
 
Fields inherited from class org.apache.geronimo.gshell.command.CommandSupport
context, io, log, variables
 
Fields inherited from interface org.apache.geronimo.gshell.command.Command
FAILURE, SUCCESS
 
Constructor Summary
InstallPluginCommand()
           
 
Method Summary
protected  Object doExecute()
           
 groovy.lang.MetaClass getMetaClass()
           
 String getPluginFile()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setPluginFile(String value)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class org.apache.geronimo.commands.ConnectCommand
connect, disconnect, getHostname, getPassword, getPort, getPrompter, getSecure, getUsername, isConnected, isSecure, openConnection, setHostname, setPassword, setPort, setPrompter, setSecure, setUsername
 
Methods inherited from class org.apache.geronimo.gshell.command.CommandSupport
displayHelp, execute, getDescription, getId, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallPluginCommand

public InstallPluginCommand()
Method Detail

getPluginFile

public String getPluginFile()

setPluginFile

public void setPluginFile(String value)

doExecute

protected Object doExecute()
                    throws Exception
Overrides:
doExecute in class ConnectCommand
Throws:
Exception

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Overrides:
getMetaClass in class ConnectCommand

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Overrides:
setMetaClass in class ConnectCommand

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Overrides:
invokeMethod in class ConnectCommand

getProperty

public Object getProperty(String name)
Overrides:
getProperty in class ConnectCommand

setProperty

public void setProperty(String name,
                        Object value)
Overrides:
setProperty in class ConnectCommand


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.