|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.jca.JCARepositoryHandle
public final class JCARepositoryHandle
This class implements the JCA implementation of repository.
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 | |
---|---|
JCARepositoryHandle(JCAManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
Construct the repository. |
Method Summary | |
---|---|
String |
getDescriptor(String key)
Return the descriptor for key. |
String[] |
getDescriptorKeys()
Return the descriptor keys. |
Reference |
getReference()
Return the reference. |
javax.jcr.Session |
login()
Creates a new session. |
javax.jcr.Session |
login(javax.jcr.Credentials creds)
Creates a new session. |
javax.jcr.Session |
login(javax.jcr.Credentials creds,
String workspace)
Creates a new session. |
javax.jcr.Session |
login(String workspace)
Creates a new session. |
void |
setReference(Reference reference)
Set the reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCARepositoryHandle(JCAManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
Method Detail |
---|
public javax.jcr.Session login() throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
login
in interface javax.jcr.Repository
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public javax.jcr.Session login(javax.jcr.Credentials creds) throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
login
in interface javax.jcr.Repository
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public javax.jcr.Session login(String workspace) throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
login
in interface javax.jcr.Repository
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public javax.jcr.Session login(javax.jcr.Credentials creds, String workspace) throws javax.jcr.LoginException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
login
in interface javax.jcr.Repository
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public String[] getDescriptorKeys()
getDescriptorKeys
in interface javax.jcr.Repository
public String getDescriptor(String key)
getDescriptor
in interface javax.jcr.Repository
public Reference getReference()
getReference
in interface Referenceable
public void setReference(Reference reference)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |