|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.SSLTools.OMSession
Create an OpenEMed session by creating the orb connection with/without SSL, Authentication, and open and instantiate the prescribed object with the ServiceInterface containing the initialized orb.
| Field Summary | |
static java.lang.String[][] |
OMKEYS_VALUES
|
static java.lang.String |
TARGET_CLASS
The keyword for the class to instantiate for the session which has a constructor with arguments of (Properties, ServiceInterface) |
| Constructor Summary | |
OMSession(java.lang.String[] args)
Constructor for the OpenEMed session with all of the required parameters in the properties file |
|
OMSession(java.lang.String[] inArgs,
java.util.Properties inProps,
java.lang.String inKeyStorePath,
java.lang.String inKeyAlias,
java.lang.String inKeyPassword,
boolean inIsServer,
boolean inAllowInsecure)
Constructor for the OpenEMed session with the remaining required parameters in the properties file |
|
| Method Summary | |
static void |
certifyKeywords(java.util.Properties inProps)
certify the Keywords contained in the input properties |
static void |
main(java.lang.String[] args)
Starts the OMSession as an application, requiring the keywords for OMSession, and and ServiceFactory or prompting for them. |
static void |
printRequiredKeywords()
Print the required keywords from the ServiceInterface specified |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String TARGET_CLASS
public static java.lang.String[][] OMKEYS_VALUES
| Constructor Detail |
public OMSession(java.lang.String[] args)
throws ServiceException
args - are the command line arguments (must contain -file 'properties' for target class)
ServiceException - is thrown when things are wrong
public OMSession(java.lang.String[] inArgs,
java.util.Properties inProps,
java.lang.String inKeyStorePath,
java.lang.String inKeyAlias,
java.lang.String inKeyPassword,
boolean inIsServer,
boolean inAllowInsecure)
throws ServiceException
inArgs - are the command line argumentsinProps - is the properties file to useinKeyStorePath - is the pathname for the keystore to useinKeyAlias - is the alias to useinKeyPassword - is the password to use for the alias's credentialsinIsServer - is true for servers and false for clientsinAllowInsecure - is true to allow insecure connections, else false
ServiceException - is thrown when things are wrong| Method Detail |
public static void printRequiredKeywords()
public static void certifyKeywords(java.util.Properties inProps)
throws ServiceException
inProps -
ServiceExceptionpublic static void main(java.lang.String[] args)
args - are the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||