|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.jca.JCARepositoryHandle
public final class JCARepositoryHandle
This class implements the JCA implementation of repository.
Field Summary |
---|
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. |
Session |
login()
Creates a new session. |
Session |
login(Credentials creds)
Creates a new session. |
Session |
login(Credentials creds,
String workspace)
Creates a new session. |
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 Session login() throws LoginException, NoSuchWorkspaceException, RepositoryException
login
in interface Repository
LoginException
NoSuchWorkspaceException
RepositoryException
public Session login(Credentials creds) throws LoginException, NoSuchWorkspaceException, RepositoryException
login
in interface Repository
LoginException
NoSuchWorkspaceException
RepositoryException
public Session login(String workspace) throws LoginException, NoSuchWorkspaceException, RepositoryException
login
in interface Repository
LoginException
NoSuchWorkspaceException
RepositoryException
public Session login(Credentials creds, String workspace) throws LoginException, NoSuchWorkspaceException, RepositoryException
login
in interface Repository
LoginException
NoSuchWorkspaceException
RepositoryException
public String[] getDescriptorKeys()
getDescriptorKeys
in interface Repository
public String getDescriptor(String key)
getDescriptor
in interface 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 |