@Typed public abstract class JndiUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> Map<String,T> |
list(String name,
Class<T> type)
Resolves an instances for the given naming context.
|
static <T> T |
lookup(Name name,
Class<? extends T> targetType)
Resolves an instance for the given name.
|
static <T> T |
lookup(String name,
Class<? extends T> targetType)
Resolves an instance for the given name.
|
public static <T> T lookup(Name name, Class<? extends T> targetType)
T - typename - current nametargetType - target typepublic static <T> T lookup(String name, Class<? extends T> targetType)
T - typename - current nametargetType - target typeCopyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.