|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.AbstractRepository
public abstract class AbstractRepository
Abstract base class for implementing the JCR Repository interface.
This class implements the three utility login methods by calling the
Repository.login(Credentials, String) method with null
arguments as specified in the JCR API.
| Field Summary |
|---|
| Fields inherited from interface javax.jcr.Repository |
|---|
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC |
| Constructor Summary | |
|---|---|
AbstractRepository()
|
|
| Method Summary | |
|---|---|
javax.jcr.Session |
login()
Calls Repository.login(Credentials, String) with
null arguments. |
javax.jcr.Session |
login(javax.jcr.Credentials credentials)
Calls Repository.login(Credentials, String) with
the given credentials and a null workspace name. |
javax.jcr.Session |
login(java.lang.String workspace)
Calls Repository.login(Credentials, String) with
null credentials and the given workspace name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jcr.Repository |
|---|
getDescriptor, getDescriptorKeys, login |
| Constructor Detail |
|---|
public AbstractRepository()
| Method Detail |
|---|
public javax.jcr.Session login()
throws javax.jcr.RepositoryException
Repository.login(Credentials, String) with
null arguments.
login in interface javax.jcr.Repositoryjavax.jcr.RepositoryException - if an error occurs
public javax.jcr.Session login(javax.jcr.Credentials credentials)
throws javax.jcr.RepositoryException
Repository.login(Credentials, String) with
the given credentials and a null workspace name.
login in interface javax.jcr.Repositorycredentials - login credentials
javax.jcr.RepositoryException - if an error occurs
public javax.jcr.Session login(java.lang.String workspace)
throws javax.jcr.RepositoryException
Repository.login(Credentials, String) with
null credentials and the given workspace name.
login in interface javax.jcr.Repositoryworkspace - workspace name
javax.jcr.RepositoryException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||