| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.plugin.proxy.Proxy
public class Proxy
This is the common Java Proxy that is responsible for reading the appropriate configuration file and listening for incoming connections.
| Field Summary | |
|---|---|
static int | 
DEFAULT_SERVER_PORT
this is the default port the Proxy will listen to  | 
protected static java.lang.String | 
PREFIX
the proxy's log prefix  | 
static java.lang.String | 
PROXY_AUTH_FOLDER
the key name for the proxy's security folder  | 
static java.lang.String | 
PROXY_CONFIG_FILE
the key name for the proxy's configuration file path  | 
static java.lang.String | 
PROXY_DEBUG
the key name for the proxy's debug flag  | 
static java.lang.String | 
PROXY_LOG_FILE
the key name for the proxy's log file  | 
static java.lang.String | 
PROXY_PORT
the key name for the proxy's listening port  | 
static java.lang.String | 
PROXY_SYNC_CLASS
the key name for the proxy's password store class name  | 
| Constructor Summary | |
|---|---|
Proxy()
 | 
|
| Method Summary | |
|---|---|
 void | 
init()
initializes the Proxy class. | 
static void | 
main(java.lang.String[] args)
This is the entry point of the Java Proxy process when it is run by a plug-in other than the Domino plug-in.  | 
 boolean | 
proxyStopRequested()
Check whether the Proxy is requested to stop.  | 
protected static void | 
readProxyConfigurationFile()
Reads the proxy configuration file given by a System Property with the name PROXY_CONFIG_FILE | 
 void | 
requestProxyStop()
Request from the Proxy to stop execution.  | 
 void | 
runProxy()
The main worker method.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int DEFAULT_SERVER_PORT
public static final java.lang.String PROXY_CONFIG_FILE
public static final java.lang.String PROXY_AUTH_FOLDER
public static final java.lang.String PROXY_SYNC_CLASS
public static final java.lang.String PROXY_PORT
public static final java.lang.String PROXY_LOG_FILE
public static final java.lang.String PROXY_DEBUG
protected static final java.lang.String PREFIX
| Constructor Detail | 
|---|
public Proxy()
| Method Detail | 
|---|
public void requestProxyStop()
public boolean proxyStopRequested()
public static void main(java.lang.String[] args)
                 throws java.lang.Exception
args - no specific arguments are checked or expected.
java.lang.Exception - if an error occurs.
protected static void readProxyConfigurationFile()
                                          throws java.io.FileNotFoundException,
                                                 java.io.IOException
PROXY_CONFIG_FILE
java.io.FileNotFoundException - if the file could not be found.
java.io.IOException - if a read error occurs.
java.lang.IllegalArgumentException - if the required System Property is missing or malformed.
public void init()
          throws java.lang.Exception
Proxy class.
java.lang.Exception - if an error occurs.
public void runProxy()
              throws java.lang.Exception
init()
 method was called previously and it has succeeded.
java.lang.Exception - if an error occurs.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||