org.apache.jackrabbit.test
Class JNDIRepositoryStub

java.lang.Object
  extended byorg.apache.jackrabbit.test.RepositoryStub
      extended byorg.apache.jackrabbit.test.JNDIRepositoryStub

public class JNDIRepositoryStub
extends RepositoryStub

Implements the abstract class RepositoryStub and uses JNDI to obtain a javax.jcr.Repository instance.


Field Summary
static java.lang.String REPOSITORY_LOOKUP_PROP
           
 
Fields inherited from class org.apache.jackrabbit.test.RepositoryStub
environment, PROP_NAMESPACES, PROP_NODE_NAME1, PROP_NODE_NAME2, PROP_NODE_NAME3, PROP_NODE_NAME4, PROP_NODETYPE, PROP_PREFIX, PROP_PROP_NAME1, PROP_PROP_NAME2, PROP_READONLY_NAME, PROP_READONLY_PWD, PROP_READWRITE_NAME, PROP_READWRITE_PWD, PROP_STUB_IMPL_CLASS, PROP_SUPERUSER_NAME, PROP_SUPERUSER_PWD, PROP_TESTROOT, PROP_WORKSPACE_NAME, readonly, readwrite, STUB_IMPL_PROPS, STUB_IMPL_SYS_PROPS, superuser
 
Constructor Summary
JNDIRepositoryStub(java.util.Properties env)
           
 
Method Summary
 javax.jcr.Repository getRepository()
          Returns a reference to the Repository provided by this RepositoryStub.
 
Methods inherited from class org.apache.jackrabbit.test.RepositoryStub
getProperty, getReadOnlyCredentials, getReadWriteCredentials, getSuperuserCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_LOOKUP_PROP

public static final java.lang.String REPOSITORY_LOOKUP_PROP
See Also:
Constant Field Values
Constructor Detail

JNDIRepositoryStub

public JNDIRepositoryStub(java.util.Properties env)
Method Detail

getRepository

public javax.jcr.Repository getRepository()
                                   throws RepositoryStubException
Returns a reference to the Repository provided by this RepositoryStub.

Specified by:
getRepository in class RepositoryStub
Returns:
Throws:
RepositoryStubException


Copyright © -2005 . All Rights Reserved.