Class JNDIRepository

  • All Implemented Interfaces:
    Repository

    @Deprecated(forRemoval=true)
    public class JNDIRepository
    extends ProxyRepository
    Deprecated, for removal: This API element is subject to removal in a future version.
    use ProxyRepository instead
    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.

    This class is deprecated and will be removed in future releases.

    Since:
    1.4
    • Constructor Detail

      • JNDIRepository

        public JNDIRepository​(Context context,
                              String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a proxy for a repository in the given JNDI location.
        Parameters:
        context - JNDI context
        name - JNDI name of the proxied repository