|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.util.JNDIUtil
public class JNDIUtil
JNDI utilities.
| Method Summary | |
|---|---|
static Properties |
getDefaultProperties()
|
static Context |
getNamingContext(Properties jndiProperties)
Get the JNDI Context. |
static Object |
lookup(String objectName,
Properties jndiProperties)
Lookup an object through the JNDI context. |
static Object |
lookup(String objectName,
Properties jndiProperties,
ClassLoader[] classLoaders)
Lookup an object through the JNDI context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Context getNamingContext(Properties jndiProperties)
throws NamingException
jndiProperties - JNDI properties.
NamingException - Error getting context.
public static Object lookup(String objectName,
Properties jndiProperties)
throws NamingException
objectName - The name of the object to be looked up.jndiProperties - JNDI properties.
NamingException - Error getting object.
public static Object lookup(String objectName,
Properties jndiProperties,
ClassLoader[] classLoaders)
throws NamingException
objectName - The name of the object to be looked up.jndiProperties - JNDI properties.classLoaders - The {@link ClassLoader ClassLoaders) to be used during the lookup.
NamingException - Error getting object.public static Properties getDefaultProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||