public class SystemService extends AppService implements SystemServiceRemote
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public SystemService() throws java.rmi.RemoteException
java.rmi.RemoteException
public SystemService(MXServer mxServer) throws java.rmi.RemoteException
mxServer
- The "Server Environment" this Service is being created in.java.rmi.RemoteException
public 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 SystemServiceRemote
target
- targetMbosource
- attr
- ui
- UserInfoMXException
java.rmi.RemoteException
public java.lang.Object[] getLookupKeyMap(java.lang.String target, java.lang.String attr, UserInfo ui) throws MXException, java.rmi.RemoteException
getLookupKeyMap
in interface SystemServiceRemote
target
- targetMboattr
- ui
- UserInfoMXException
java.rmi.RemoteException
public void init()
init
in interface Service
init
in class AppService
Service
public void destroy()
Service
destroy
in interface Service
destroy
in class AppService
Service
public java.lang.String[] getMXServerVersion(UserInfo userInfo) throws java.rmi.RemoteException
userInfo
- UserInfo making the requestjava.rmi.RemoteException
MXServer.getMXServerVersion()
public java.util.Date getDate() throws java.rmi.RemoteException
java.rmi.RemoteException
MXServer.getDate()
public java.lang.String getProperty(java.lang.String propName, UserInfo userInfo) throws java.rmi.RemoteException
propName
- Property nameuserInfo
- UserInfo making the requestjava.rmi.RemoteException
MXServer.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.RemoteException
public java.util.List<java.lang.String> getPropertyNames(UserInfo userInfo) throws java.rmi.RemoteException
userInfo
- UserInfo making the requestjava.rmi.RemoteException
MXServer.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.MXException
java.rmi.RemoteException
public java.lang.String getDeploymentMgrURL() throws java.rmi.RemoteException
getDeploymentMgrURL
in interface SystemServiceRemote
java.rmi.RemoteException