public abstract class SafeClientRepository extends ClientObject
RemoteRepository
interface. This class uses an abstract factory method for loading
(and reloading) the remote repository instance that is made locally
available through the JCR Repository interface. If the remote
reference breaks (a RemoteException is thrown by a remote call), then
this adapter attempts to reload the remote reference once before failing.javax.jcr.Repository,
RemoteRepository| Constructor and Description |
|---|
SafeClientRepository(LocalAdapterFactory factory)
Creates a client adapter for the given remote repository.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescriptor(java.lang.String name) |
java.lang.String[] |
getDescriptorKeys() |
Value |
getDescriptorValue(java.lang.String key) |
Value[] |
getDescriptorValues(java.lang.String key) |
boolean |
isSingleValueDescriptor(java.lang.String key) |
boolean |
isStandardDescriptor(java.lang.String key) |
Session |
login() |
Session |
login(Credentials credentials) |
Session |
login(Credentials credentials,
java.lang.String workspace) |
Session |
login(java.lang.String workspace) |
public SafeClientRepository(LocalAdapterFactory factory)
factory - local adapter factorypublic java.lang.String getDescriptor(java.lang.String name)
public java.lang.String[] getDescriptorKeys()
public Session login(Credentials credentials,
java.lang.String workspace)
throws RepositoryException
RepositoryExceptionpublic Session login(java.lang.String workspace)
throws RepositoryException
RepositoryExceptionpublic Session login(Credentials credentials)
throws RepositoryException
RepositoryExceptionpublic Session login()
throws RepositoryException
RepositoryExceptionpublic Value getDescriptorValue(java.lang.String key)
public Value[] getDescriptorValues(java.lang.String key)
public boolean isSingleValueDescriptor(java.lang.String key)
public boolean isStandardDescriptor(java.lang.String key)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"