|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lokahi.core.controller.AdminBean
public class AdminBean
Constructor Summary | |
---|---|
AdminBean()
Constructor |
Method Summary | |
---|---|
void |
changeJvmAdminRole(java.util.Hashtable admin_jvms)
This method changes the role of the machine:port supplied to primary/backup or alternate |
java.util.Hashtable |
getAllAdminInfo()
This method returns a hashtable of the information retrieved from database. |
Instance |
getInstance()
|
java.lang.String[] |
split(java.lang.String str,
java.lang.String delim)
This method takes a String and returns a String array, by splitting on the delimiter supplied |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminBean()
Method Detail |
---|
public Instance getInstance()
public java.util.Hashtable getAllAdminInfo()
public void changeJvmAdminRole(java.util.Hashtable admin_jvms)
admin_jvms
- - Hashtable with keys PRIMARY, BACKUP AND ALTERNATE, and values are
respectively the machine:agentport combination to be updated in the databasepublic java.lang.String[] split(java.lang.String str, java.lang.String delim)
str
- - String to be splitdelim
- - delimiter to split the String on
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |