Class JNDIRepository

  • All Implemented Interfaces:

    public class JNDIRepository
    extends ProxyRepository
    Proxy for a repository bound in JNDI. The configured repository is looked up from JNDI lazily during each method call. Thus the JNDI entry does not need to exist when this class is instantiated. The JNDI entry can also be replaced with another repository during the lifetime of an instance of this class.
    • Constructor Detail

      • JNDIRepository

        public JNDIRepository​(Context context,
                              String name)
        Creates a proxy for a repository in the given JNDI location.
        context - JNDI context
        name - JNDI name of the proxied repository