|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commons.JNDI
public final class JNDI
JNDI utility class.
Constructor Summary | |
---|---|
JNDI()
Constructor. |
|
JNDI(java.lang.String providerURL)
Constructor. |
Method Summary | ||
---|---|---|
|
get(java.lang.String location)
Get an object from the registry. |
|
Registry |
put(java.lang.String location,
java.lang.Object object)
Put an object into JNDI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNDI()
public JNDI(java.lang.String providerURL)
providerURL
- The java naming provider URLMethod Detail |
---|
public Registry put(java.lang.String location, java.lang.Object object)
put
in interface Registry
location
- Location in the in the registry.object
- The object to put.
public <T> T get(java.lang.String location)
get
in interface Registry
T
- The type of the object at the specified location.location
- Location in the registry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |