|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.rmi.client.BrokenRemoteRepository
public class BrokenRemoteRepository
Dummy remote repository instance that throws a RemoteException
whenever any method is invoked. Used as a sentinel object by the
SafeClientRepository class.
| Constructor Summary | |
|---|---|
BrokenRemoteRepository()
Creates a remote repository whose methods throw a remote exception. |
|
BrokenRemoteRepository(RemoteException exception)
Creates a remote repository whose methods throw the given exception. |
|
BrokenRemoteRepository(String message)
Creates a remote repository whose methods trow a remote exception with the given message. |
|
| Method Summary | |
|---|---|
String |
getDescriptor(String key)
Throws a RemoteException. |
String[] |
getDescriptorKeys()
Throws a RemoteException. |
RemoteSession |
login()
Throws a RemoteException. |
RemoteSession |
login(Credentials credentials)
Throws a RemoteException. |
RemoteSession |
login(Credentials credentials,
String workspace)
Throws a RemoteException. |
RemoteSession |
login(String workspace)
Throws a RemoteException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrokenRemoteRepository(RemoteException exception)
exception - remote exceptionpublic BrokenRemoteRepository(String message)
message - exception messagepublic BrokenRemoteRepository()
| Method Detail |
|---|
public String getDescriptor(String key)
throws RemoteException
RemoteException.
getDescriptor in interface RemoteRepositorykey - ignored
RemoteException - always thrown
public String[] getDescriptorKeys()
throws RemoteException
RemoteException.
getDescriptorKeys in interface RemoteRepositoryRemoteException - always thrown
public RemoteSession login()
throws RemoteException
RemoteException.
login in interface RemoteRepositoryRemoteException - always thrown
public RemoteSession login(String workspace)
throws RemoteException
RemoteException.
login in interface RemoteRepositoryworkspace - ignored
RemoteException - always thrown
public RemoteSession login(Credentials credentials)
throws RemoteException
RemoteException.
login in interface RemoteRepositorycredentials - ignored
RemoteException - always thrown
public RemoteSession login(Credentials credentials,
String workspace)
throws RemoteException
RemoteException.
login in interface RemoteRepositoryworkspace - ignoredcredentials - ignored
RemoteException - always thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||