org.apache.geronimo.deployment.cli
Class ServerConnection
java.lang.Object
org.apache.geronimo.deployment.cli.ServerConnection
public class ServerConnection
- extends Object
Supports online connections to the server, via JSR-88, valid only
when the server is online.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerConnection
public ServerConnection(String[] args,
PrintWriter out,
InputStream in)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
getOptionHelp
public static Map getOptionHelp()
isGeneralOption
public static boolean isGeneralOption(List args,
String option)
- Checks whether the stated command-line argument is a general argument (which
may be the general argument itself, or a required parameter after the general
argument). For example, if the arguments were "--user bob foo" then
this should return true for "--user" and "bob" and false for "foo".
- Parameters:
args
- The previous arguments on the command lineoption
- The argument we're checking at the moment
- Returns:
- True if the argument we're checking is part of a general argument
close
public void close()
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
getDeploymentManager
public DeploymentManager getDeploymentManager()
isGeronimo
public boolean isGeronimo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.