edu.cmu.mse.vault.client
Class JNDITestClient
java.lang.Object
edu.cmu.mse.vault.client.JNDITestClient
- public class JNDITestClient
- extends java.lang.Object
- Author:
- Soumya
Is a test client to see if the JNDI clien
Field Summary |
static java.lang.String |
cfgFn
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cfgFn
public static final java.lang.String cfgFn
- See Also:
- Constant Field Values
JNDITestClient
public JNDITestClient()
main
public static void main(java.lang.String[] args)
getInitialContext
public static javax.naming.Context getInitialContext()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getGlobalInitialContext
public static javax.naming.InitialContext getGlobalInitialContext()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
testJndiAndIsAlive
public boolean testJndiAndIsAlive(java.lang.String accountId)
nextKey
public MessageKey nextKey()