Class JNDIRepositoryFactory

  • All Implemented Interfaces:
    RepositoryFactory

    public class JNDIRepositoryFactory
    extends java.lang.Object
    implements RepositoryFactory
    Factory that looks up a repository from JNDI.
    Since:
    1.4
    • Constructor Summary

      Constructors 
      Constructor Description
      JNDIRepositoryFactory​(javax.naming.Context context, java.lang.String name)
      Creates a factory for looking up a repository from JNDI.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Repository getRepository()
      Looks up and returns the configured repository.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JNDIRepositoryFactory

        public JNDIRepositoryFactory​(javax.naming.Context context,
                                     java.lang.String name)
        Creates a factory for looking up a repository from JNDI.
        Parameters:
        context - JNDI context
        name - JNDI name of the repository