Class 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
    • Constructor Detail

      • JndiObjectFactory

        public JndiObjectFactory()
    • Method Detail

      • getInstance

        public T getInstance()
        Specified by:
        getInstance in interface org.apache.shiro.util.Factory<T>
      • getResourceName

        public String getResourceName()
      • setResourceName

        public void setResourceName(String resourceName)
      • getRequiredType

        public Class<? extends T> getRequiredType()
      • setRequiredType

        public void setRequiredType(Class<? extends T> requiredType)