public class SystemService extends AppService implements SystemServiceRemote
APPLOGGER, 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 |
|---|---|
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<java.lang.String,java.lang.Object> |
getProperties(java.util.List<java.lang.String> 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<java.lang.String> |
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
|
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.
|
checkSecurity, configure, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUserequals, 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<java.lang.String,java.lang.Object> getProperties(java.util.List<java.lang.String> propNames,
UserInfo userInfo)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.util.List<java.lang.String> 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 java.lang.String getDeploymentMgrURL()
throws java.rmi.RemoteException
getDeploymentMgrURL in interface SystemServiceRemotejava.rmi.RemoteException