Class JNDIRepositoryServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class JNDIRepositoryServlet
    extends AbstractRepositoryServlet
    Servlet that makes a repository from JNDI available as an attribute in the servlet context.

    The supported initialization parameters of this servlet are:

    Name of the servlet context attribute to put the repository in. The default value is "javax.jcr.Repository".
    Location of the repository in the JNDI directory. The default value is "javax/jcr/Repository".
    All other init parameters are used as the JNDI environment when instantiating InitialContext for looking up the repository.

    This servlet can also be mapped to the URL space. See AbstractRepositoryServlet for the details.

    See Also:
    Serialized Form