|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.jndi.JndiUtils
public final class JndiUtils
Utility class for retrieving home interfaces and environment values.
Method Summary | |
---|---|
static javax.naming.NamingEnumeration<?> |
getNamingList(java.lang.String rootNode)
Returns a list of naming entries for the given root node. |
static java.lang.Object |
lookup(java.lang.String name,
java.lang.Class<?> classForNarrow)
Lookup using no caching functionality. |
static java.lang.Object |
lookupEnv(java.lang.String name,
java.lang.Class<?> classForNarrow)
Lookup at Enterprise Java Beans environment value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object lookup(java.lang.String name, java.lang.Class<?> classForNarrow) throws javax.naming.NamingException
name
- the environment nameclassForNarrow
- the class to narrow
null
.
javax.naming.NamingException
public static java.lang.Object lookupEnv(java.lang.String name, java.lang.Class<?> classForNarrow) throws javax.naming.NamingException
name
- the environment nameclassForNarrow
- the class to narrow
null
.
javax.naming.NamingException
- if the given lookup name is not in the JNDI treepublic static javax.naming.NamingEnumeration<?> getNamingList(java.lang.String rootNode) throws javax.naming.NamingException
rootNode
-
javax.naming.NamingException
- when the given root node doesn't exists
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org