001    //
002    // Generated stub from file:/Users/bohn/Apache/tags-2.1.3/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy
003    //
004    
005    package org.apache.geronimo.commands;
006    
007    import java.lang.*;
008    import java.io.*;
009    import java.net.*;
010    import java.util.*;
011    import groovy.lang.*;
012    import groovy.util.*;
013    import org.apache.geronimo.gshell.clp.Option;
014    import org.apache.geronimo.gshell.command.annotation.CommandComponent;
015    import org.apache.geronimo.gshell.command.CommandSupport;
016    import org.apache.geronimo.deployment.cli.ServerConnection;
017    import org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryWithKernel;
018    import org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager;
019    import org.apache.geronimo.cli.deployer.ConnectionParamsImpl;
020    import org.apache.geronimo.kernel.basic.BasicKernel;
021    import org.apache.geronimo.gshell.command.annotation.Requirement;
022    import org.apache.geronimo.gshell.console.PromptReader;
023    import java.util.Collections;
024    
025    /**
026     * Stops a running Geronimo server instance.
027     *
028     * @version $Rev: 706640 $ $Date: 2008-10-21 14:44:05 +0000 (Tue, 21 Oct 2008) $
029     */
030    public class ConnectCommand
031        extends CommandSupport
032    {
033        public static final java.lang.String SERVER_CONNECTION = null;
034    
035        private java.lang.String hostname = null;
036        public java.lang.String getHostname() {
037            throw new InternalError("Stubbed method");
038        }
039        public void setHostname(java.lang.String value) {
040            throw new InternalError("Stubbed method");
041        }
042    
043        private int port = -1;
044        public int getPort() {
045            throw new InternalError("Stubbed method");
046        }
047        public void setPort(int value) {
048            throw new InternalError("Stubbed method");
049        }
050    
051        private java.lang.String username = null;
052        public java.lang.String getUsername() {
053            throw new InternalError("Stubbed method");
054        }
055        public void setUsername(java.lang.String value) {
056            throw new InternalError("Stubbed method");
057        }
058    
059        private java.lang.String password = null;
060        public java.lang.String getPassword() {
061            throw new InternalError("Stubbed method");
062        }
063        public void setPassword(java.lang.String value) {
064            throw new InternalError("Stubbed method");
065        }
066    
067        private boolean secure = false;
068        public boolean getSecure() {
069            throw new InternalError("Stubbed method");
070        }
071        public boolean isSecure() {
072            throw new InternalError("Stubbed method");
073        }
074        public void setSecure(boolean value) {
075            throw new InternalError("Stubbed method");
076        }
077    
078        private PromptReader prompter = null;
079        public PromptReader getPrompter() {
080            throw new InternalError("Stubbed method");
081        }
082        public void setPrompter(PromptReader value) {
083            throw new InternalError("Stubbed method");
084        }
085    
086        protected java.lang.Object doExecute() throws Exception {
087            throw new InternalError("Stubbed method");
088        }
089    
090        protected ServerConnection openConnection(boolean quiet) throws Exception {
091            throw new InternalError("Stubbed method");
092        }
093    
094        protected ServerConnection connect() {
095            throw new InternalError("Stubbed method");
096        }
097    
098        protected boolean isConnected() {
099            throw new InternalError("Stubbed method");
100        }
101    
102        protected void disconnect() {
103            throw new InternalError("Stubbed method");
104        }
105    
106        public groovy.lang.MetaClass getMetaClass() {
107            throw new InternalError("Stubbed method");
108        }
109    
110        public void setMetaClass(groovy.lang.MetaClass metaClass) {
111            throw new InternalError("Stubbed method");
112        }
113    
114        public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
115            throw new InternalError("Stubbed method");
116        }
117    
118        public java.lang.Object getProperty(java.lang.String name) {
119            throw new InternalError("Stubbed method");
120        }
121    
122        public void setProperty(java.lang.String name, java.lang.Object value) {
123            throw new InternalError("Stubbed method");
124        }
125    }