public class WASClusters extends WASLoginContext implements MaximoClusters, FixedLoggers
| Modifier and Type | Field and Description |
|---|---|
static int |
Active |
com.ibm.websphere.management.AdminClient |
adminClient |
java.util.Set |
clusterAPIMBeans |
java.util.Set |
clusterMBeans |
java.util.Set |
clusterMembers |
static int |
Inactive |
java.util.Set |
jvmBean |
boolean |
notSyncWithAdminMode |
static java.lang.String |
pause |
boolean |
privileged |
static java.lang.String |
resume |
com.ibm.websphere.management.AdminService |
service |
static int |
Stopped |
Empty, Error, SERVER_STATE_STARTED, SERVER_STATE_STOPPED, SuccessAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
WASClusters(com.ibm.websphere.management.AdminService service) |
| Modifier and Type | Method and Description |
|---|---|
int |
cleanUp() |
java.util.HashSet |
getMembersEligibleForStartStop(java.lang.String operation)
Returns members from all clusters except the current member.
|
protected int |
invoke(java.lang.String operation)
Invokes the WAS operation
|
int |
start() |
int |
stop() |
execute, isAdminSecurityEnabled, loginContextpublic static final java.lang.String pause
public static final java.lang.String resume
public static final int Active
public static final int Inactive
public static final int Stopped
public com.ibm.websphere.management.AdminService service
public com.ibm.websphere.management.AdminClient adminClient
public java.util.Set clusterMBeans
public java.util.Set clusterAPIMBeans
public java.util.Set clusterMembers
public java.util.Set jvmBean
public boolean privileged
public boolean notSyncWithAdminMode
public WASClusters(com.ibm.websphere.management.AdminService service)
public java.util.HashSet getMembersEligibleForStartStop(java.lang.String operation)
throws java.lang.Exception
java.lang.Exceptionprotected int invoke(java.lang.String operation)
invoke in class WASLoginContextoperation - public int stop()
stop in interface MaximoClusterspublic int start()
start in interface MaximoClusterspublic int cleanUp()
cleanUp in interface MaximoClusters