public class JndiNameLookupHelper extends Object
Constructor and Description |
---|
JndiNameLookupHelper()
Creates a new instance of JndiMBeanHelper
|
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
getJndiEntriesByContextPath(String contextPath)
Gets the jndi entries from the application server's naming
service given a particular context/subcontext.
|
public JndiNameLookupHelper()
public ArrayList<String> getJndiEntriesByContextPath(String contextPath) throws NamingException
contextPath
- The naming context or subcontext to query.ArrayList
of NameClassPair
objects.NamingException
- if an error occurs when connection with
the naming service is established or retrieval fails.Copyright © 2018. All rights reserved.