public class PoolControl
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
class |
PoolControl.PoolRequest
Inner class to handle the communication with the Flash server.
|
Modifier and Type | Field and Description |
---|---|
protected static MessageBundle |
cvMessage
A reference to the server resource properties.
|
protected static java.util.ResourceBundle |
cvProps
A reference to the server resource properties.
|
protected static java.lang.String |
DEFAULT_ENCODING
The default character encoding.
|
private static long |
serialVersionUID
The class' serialization version id.
|
Constructor and Description |
---|
PoolControl(java.lang.String[] args)
Constructs a
PoolControl object and communicates with the
Flash server to stop or start the connection pool. |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Method called to receive command line parameters and communicate with the
Flash server to stop or start the connection pool.
|
protected void |
performRequest(java.lang.String[] args)
Method called to process command line parameters and communicate with the
Flash server to stop or start the connection pool.
|
private static final long serialVersionUID
protected static MessageBundle cvMessage
protected static java.util.ResourceBundle cvProps
protected static final java.lang.String DEFAULT_ENCODING
public PoolControl(java.lang.String[] args)
PoolControl
object and communicates with the
Flash server to stop or start the connection pool.args
- (String[]) The array of command line arguments. This must
be specified as follows:
args[0] - the "start" or "stop" code to pass to the Flash system.
args[1] - optional server host name to talk to. If not passed,
this name will come from the server.properties file.public static void main(java.lang.String[] args)
args
- (String[]) The array of command line arguments. This must
be specified as follows:
args[0] - the "start" or "stop" code to pass to the Flash system.
args[1] - optional server host name to talk to. If not passed,
this name will come from the server.properties file.protected void performRequest(java.lang.String[] args)
args
- (String[]) The array of command line arguments. This must
be specified as follows:
args[0] - the "start" or "stop" code to pass to the Flash system.
args[1] - optional server host name to talk to. If not passed,
this name will come from the server.properties file.