|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.intrinsyc.janet.JNDIContext
This class provides an API to access JNDI remotely. The initial context settings for JNDI are read from the configuration file, and may be modified with setProperty().
© 2007 Intrinsyc Software International, Inc. All rights reserved.
Constructor Summary | |
JNDIContext()
|
Method Summary | |
java.lang.Object |
Lookup(java.lang.String className,
java.lang.String JNDIName)
Accesses a Java object using JNDI lookup. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a JNDI property. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JNDIContext()
Method Detail |
public java.lang.Object Lookup(java.lang.String className, java.lang.String JNDIName) throws java.lang.ClassNotFoundException, javax.naming.NamingException, RemoteException
className
- The name of the class to lookup.JNDIName
- The JNDI name.
java.lang.ClassNotFoundException
javax.naming.NamingException
RemoteException
public void setProperty(java.lang.String key, java.lang.String value)
key
- The name of the property.value
- The value to set the named property to.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |