org.apache.geronimo.commands
Class ListTargetsCommand

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

public class ListTargetsCommand
extends ConnectCommand

List targets.


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
ListTargetsCommand()
           
 
Method Summary
protected  Object doExecute()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 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

ListTargetsCommand

public ListTargetsCommand()
Method Detail

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.