Class JndiNameLookupHelper
- java.lang.Object
-
- com.sun.enterprise.admin.monitor.jndi.JndiNameLookupHelper
-
public class JndiNameLookupHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description JndiNameLookupHelper()
Creates a new instance of JndiMBeanHelper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<String>
getJndiEntriesByContextPath(String contextPath)
Gets the jndi entries from the application server's naming service given a particular context/subcontext.
-
-
-
Method Detail
-
getJndiEntriesByContextPath
public ArrayList<String> getJndiEntriesByContextPath(String contextPath) throws NamingException
Gets the jndi entries from the application server's naming service given a particular context/subcontext.- Parameters:
contextPath
- The naming context or subcontext to query.- Returns:
- An
ArrayList
ofNameClassPair
objects. - Throws:
NamingException
- if an error occurs when connection with the naming service is established or retrieval fails.
-
-