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.Repository
,
RemoteRepository
Constructor and Description |
---|
SafeClientRepository(LocalAdapterFactory factory)
Creates a client adapter for the given remote repository.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor(String name) |
String[] |
getDescriptorKeys() |
Value |
getDescriptorValue(String key) |
Value[] |
getDescriptorValues(String key) |
boolean |
isSingleValueDescriptor(String key) |
boolean |
isStandardDescriptor(String key) |
Session |
login() |
Session |
login(Credentials credentials) |
Session |
login(Credentials credentials,
String workspace) |
Session |
login(String workspace) |
public SafeClientRepository(LocalAdapterFactory factory)
factory
- local adapter factorypublic String[] getDescriptorKeys()
public Session login(Credentials credentials, String workspace) throws RepositoryException
RepositoryException
public Session login(String workspace) throws RepositoryException
RepositoryException
public Session login(Credentials credentials) throws RepositoryException
RepositoryException
public Session login() throws RepositoryException
RepositoryException
public Value getDescriptorValue(String key)
public Value[] getDescriptorValues(String key)
public boolean isSingleValueDescriptor(String key)
public boolean isStandardDescriptor(String key)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"