org.apache.myfaces.tobago.util
Class JndiUtils

java.lang.Object
  extended by org.apache.myfaces.tobago.util.JndiUtils

public class JndiUtils
extends java.lang.Object


Constructor Summary
JndiUtils()
           
 
Method Summary
static java.lang.Object getJndiProperty(javax.naming.Context ctx, java.lang.String property)
           
static java.lang.Object getJndiProperty(javax.naming.Context ctx, java.lang.String property, java.lang.Object defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiUtils

public JndiUtils()
Method Detail

getJndiProperty

public static java.lang.Object getJndiProperty(javax.naming.Context ctx,
                                               java.lang.String property)
                                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getJndiProperty

public static java.lang.Object getJndiProperty(javax.naming.Context ctx,
                                               java.lang.String property,
                                               java.lang.Object defaultValue)
                                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.