|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
edu.cmu.mse.vault.repman.VaultReplicationServer
| Field Summary | |
static java.util.Properties |
properties
|
static java.lang.String |
VAULT_REP_MANAGER
|
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
protected |
VaultReplicationServer()
|
| Method Summary | |
java.util.List |
getAccountRefNames()
Returns a java.util.List of Account references. |
int |
getCurrentActiveReplicas()
Returns number of current active replicas |
java.util.List |
getCustomerRefNames()
Returns a java.util.List of Customer references. |
java.lang.String |
getJNDIHostName()
Returns a host name where the global JNDI server is running. |
int |
getNumberOfReplicas()
Returns the number of active replicas |
java.util.List |
getTransactionRefNames()
Returns a java.util.List of Transaction references. |
static void |
loadProperties()
Load properties from the vaultjndi.properties file. |
static void |
main(java.lang.String[] arg)
|
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String VAULT_REP_MANAGER
public static java.util.Properties properties
| Constructor Detail |
protected VaultReplicationServer()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
public static void main(java.lang.String[] arg)
public static void loadProperties()
public java.lang.String getJNDIHostName()
throws java.rmi.RemoteException
IVaultReplicationManager
getJNDIHostName in interface IVaultReplicationManagerjava.rmi.RemoteException
public java.util.List getAccountRefNames()
throws java.rmi.RemoteException
IVaultReplicationManagerjava.util.List of Account references.
The client must take these values and use them to get actual object from the JNDI server.
getAccountRefNames in interface IVaultReplicationManagerjava.rmi.RemoteException
public java.util.List getCustomerRefNames()
throws java.rmi.RemoteException
IVaultReplicationManagerjava.util.List of Customer references.
The client must take these values and use them to get actual object from the JNDI server.
getCustomerRefNames in interface IVaultReplicationManagerjava.rmi.RemoteException
public java.util.List getTransactionRefNames()
throws java.rmi.RemoteException
IVaultReplicationManagerjava.util.List of Transaction references.
The client must take these values and use them to get actual object from the JNDI server.
getTransactionRefNames in interface IVaultReplicationManagerjava.rmi.RemoteException
public int getNumberOfReplicas()
throws java.rmi.RemoteException
IVaultReplicationManager
getNumberOfReplicas in interface IVaultReplicationManagerjava.rmi.RemoteException
public int getCurrentActiveReplicas()
throws java.rmi.RemoteException
IVaultReplicationManager
getCurrentActiveReplicas in interface IVaultReplicationManagerjava.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||