| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| private static String | |
| public static void | |
| public static Context | |
| public static Name | |
| public static Object | |
| public static <T> List | Returns: all NameEntries of a certain type in the given naming environment scope (server-wide names or context-specific names)the object scope scope, Class<T> the type of the entry clazz)Get all NameEntries of a certain type in the given naming environment scope (server-wide names or context-specific names) |
| private static List | lookupNamingEntries(List<Object> list, Context context, Class<?> clazz)
Build up a list of NamingEntry objects that are of a specific type. |
| public static NamingEntry | Returns: the naming entry for the given scopethe object scope scope, String the jndi name jndiName)Find a NamingEntry in the given scope. |
| public static Name | |
| public static Name |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| NamingEntryUtil | back to summary |
|---|---|
| public NamingEntryUtil() | |
| bindToENC | back to summary |
|---|---|
| public static boolean bindToENC(Object scope, String asName, String mappedName) throws NamingException Link a name in a webapp's java:/comp/env namespace to a pre-existing resource. The pre-existing resource can be either in the webapp's naming environment, or in the container's naming environment. Webapp's environment takes precedence over the server's namespace.
| |
| canonicalizeScope | back to summary |
|---|---|
| private static String canonicalizeScope(Object scope) | |
| destroyContextForScope | back to summary |
|---|---|
| public static void destroyContextForScope(Object scope) throws NamingException | |
| getContextForScope | back to summary |
|---|---|
| public static Context getContextForScope(Object scope) throws NamingException | |
| getNameForScope | back to summary |
|---|---|
| public static Name getNameForScope(Object scope) | |
| lookup | back to summary |
|---|---|
| public static Object lookup(Object scope, String jndiName) throws NamingException | |
| lookupNamingEntries | back to summary |
|---|---|
| public static <T> List Get all NameEntries of a certain type in the given naming environment scope (server-wide names or context-specific names)
| |
| lookupNamingEntries | back to summary |
|---|---|
| private static List Build up a list of NamingEntry objects that are of a specific type. | |
| lookupNamingEntry | back to summary |
|---|---|
| public static NamingEntry lookupNamingEntry(Object scope, String jndiName) throws NamingException Find a NamingEntry in the given scope.
| |
| makeNamingEntryName | back to summary |
|---|---|
| public static Name makeNamingEntryName(NameParser parser, NamingEntry namingEntry) throws NamingException | |
| makeNamingEntryName | back to summary |
|---|---|
| public static Name makeNamingEntryName(NameParser parser, String jndiName) throws NamingException | |