Package org.apache.shiro.jndi
Class JndiObjectFactory<T>
- java.lang.Object
-
- org.apache.shiro.jndi.JndiLocator
-
- org.apache.shiro.jndi.JndiObjectFactory<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
org.apache.shiro.util.Factory<T>
public class JndiObjectFactory<T> extends JndiLocator implements org.apache.shiro.util.Factory<T>
A factory implementation intended to be used to look up objects in jndi.- Since:
- 1.2
-
-
Field Summary
-
Fields inherited from class org.apache.shiro.jndi.JndiLocator
CONTAINER_PREFIX
-
-
Constructor Summary
Constructors Constructor Description JndiObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getInstance()
Class<? extends T>
getRequiredType()
String
getResourceName()
void
setRequiredType(Class<? extends T> requiredType)
void
setResourceName(String resourceName)
-
Methods inherited from class org.apache.shiro.jndi.JndiLocator
convertJndiName, getJndiEnvironment, getJndiTemplate, isResourceRef, lookup, lookup, setJndiEnvironment, setJndiTemplate, setResourceRef
-
-