public class SystemService extends AppService implements SystemServiceRemote
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, 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 |
|---|
SystemService() |
SystemService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteTaskScheduleFor(java.lang.String cronTaskName,
java.lang.String cronInstanceName,
UserInfo userInfo) |
void |
destroy()
Release system resources.
|
java.util.Date |
getDate()
Get current date from MXServer.
|
java.lang.String |
getDeploymentMgrURL() |
java.lang.Object[] |
getLookupKeyMap(java.lang.String target,
java.lang.String source,
java.lang.String attr,
UserInfo ui)
Get the lookup key map.
|
java.lang.Object[] |
getLookupKeyMap(java.lang.String target,
java.lang.String attr,
UserInfo ui)
Get the lookup key map.
|
java.lang.String[] |
getMXServerVersion(UserInfo userInfo)
Return the version for MXServer and any add-ons.
|
java.util.Map |
getProperties(java.util.List propNames,
UserInfo userInfo) |
java.lang.String |
getProperty(java.lang.String propName,
UserInfo userInfo)
Return the cached property value for a property not flagged as "private".
|
java.util.List |
getPropertyNames(UserInfo userInfo)
Return all the current non-private property names of MXServer.
|
void |
init()
Overwrite the init() to include initializing the maxlookupMap cache and the condition cache
|
boolean |
isManage()
Return the boolean value of isManage() from MXServer.
|
void |
liveRefreshProperty(java.lang.String propName) |
void |
setProperty(java.lang.String propName,
java.lang.String serverName,
java.lang.String serverHost,
java.lang.String propValue,
UserInfo userInfo)
Set value for a property and initiate cache update to synchronize the new value
across all servers using this database.
|
void |
setPropertyAndRefresh(java.lang.String propName,
java.lang.String serverName,
java.lang.String serverHost,
java.lang.String propValue,
UserInfo userInfo,
boolean refresh) |
checkSecurity, configure, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic SystemService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic SystemService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - The "Server Environment" this Service is being created in.java.rmi.RemoteExceptionpublic java.lang.Object[] getLookupKeyMap(java.lang.String target,
java.lang.String source,
java.lang.String attr,
UserInfo ui)
throws MXException,
java.rmi.RemoteException
getLookupKeyMap in interface SystemServiceRemotetarget - targetMbosource - attr - ui - UserInfoMXExceptionjava.rmi.RemoteExceptionpublic java.lang.Object[] getLookupKeyMap(java.lang.String target,
java.lang.String attr,
UserInfo ui)
throws MXException,
java.rmi.RemoteException
getLookupKeyMap in interface SystemServiceRemotetarget - targetMboattr - ui - UserInfoMXExceptionjava.rmi.RemoteExceptionpublic void init()
init in interface Serviceinit in class AppServiceServicepublic void destroy()
Servicedestroy in interface Servicedestroy in class AppServiceServicepublic java.lang.String[] getMXServerVersion(UserInfo userInfo) throws java.rmi.RemoteException
userInfo - UserInfo making the requestjava.rmi.RemoteExceptionMXServer.getMXServerVersion()public java.util.Date getDate()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionMXServer.getDate()public java.lang.String getProperty(java.lang.String propName,
UserInfo userInfo)
throws java.rmi.RemoteException
propName - Property nameuserInfo - UserInfo making the requestjava.rmi.RemoteExceptionMXServer.getProperty(String, UserInfo)public java.util.Map getProperties(java.util.List propNames,
UserInfo userInfo)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.util.List getPropertyNames(UserInfo userInfo) throws java.rmi.RemoteException
userInfo - UserInfo making the requestjava.rmi.RemoteExceptionMXServer.getConfig(UserInfo)public void setProperty(java.lang.String propName,
java.lang.String serverName,
java.lang.String serverHost,
java.lang.String propValue,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
propName - Property name (maxprop, maxpropvalue)serverName - Server name (maxpropvalue)serverHost - Can be null (maxpropvalue)propValue - The new value for this propertyuserInfo - The userInfo making this request.MXExceptionjava.rmi.RemoteExceptionpublic void setPropertyAndRefresh(java.lang.String propName,
java.lang.String serverName,
java.lang.String serverHost,
java.lang.String propValue,
UserInfo userInfo,
boolean refresh)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void liveRefreshProperty(java.lang.String propName)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic int deleteTaskScheduleFor(java.lang.String cronTaskName,
java.lang.String cronInstanceName,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String getDeploymentMgrURL()
throws java.rmi.RemoteException
getDeploymentMgrURL in interface SystemServiceRemotejava.rmi.RemoteExceptionpublic boolean isManage()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionMXServer.isManage()