|
deegree 2.4 (2010/11/11 10:47 build-27-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.framework.jndi.JndiUtils
public final class JndiUtils
Utility class for retrieving home interfaces and environment values.
| Method Summary | |
|---|---|
static NamingEnumeration<?> |
getNamingList(String rootNode)
Returns a list of naming entries for the given root node. |
static Object |
lookup(String name,
Class<?> classForNarrow)
Lookup using no caching functionality. |
static Object |
lookupEnv(String name,
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 Object lookup(String name,
Class<?> classForNarrow)
throws NamingException
name - the environment nameclassForNarrow - the class to narrow
null.
NamingException
public static Object lookupEnv(String name,
Class<?> classForNarrow)
throws NamingException
name - the environment nameclassForNarrow - the class to narrow
null.
NamingException - if the given lookup name is not in the JNDI tree
public static NamingEnumeration<?> getNamingList(String rootNode)
throws NamingException
rootNode -
NamingException - when the given root node doesn't exists
|
deegree 2.4 (2010/11/11 10:47 build-27-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