public class MaxLicMonitorService extends AppService implements MaxLicMonitorServiceRemote
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 |
|---|
MaxLicMonitorService() |
MaxLicMonitorService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAppInAppTable(java.lang.String appName)
Check the maxlicprodapps table for the existence of any records that have APPNAME
that matches the incoming appName.
|
boolean |
checkMaxprodidInAppTable(java.lang.String prodId)
Check the maxlicprodapps table for the existence of any records that have MAXPRODID
that matches the incoming prodId.
|
java.lang.String |
getLicProductKeys()
Returns the product list
|
static MXLogger |
getLictrackLogger()
* @return the lictrack logger
|
java.util.HashSet<java.lang.String> |
getProductKEYS() |
java.lang.String |
getProductName(java.lang.String prodId)
Utility routine
Given the maxprodid it returns the product name
|
void |
init()
Initialize the Application Service.
|
checkSecurity, configure, destroy, 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 MaxLicMonitorService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MaxLicMonitorService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv - --
the "Server Environment" this Service is being created in.java.rmi.RemoteExceptionpublic void init()
AppServiceinit in interface Serviceinit in class AppServiceServicepublic java.lang.String getLicProductKeys()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static MXLogger getLictrackLogger()
public java.util.HashSet<java.lang.String> getProductKEYS()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getProductName(java.lang.String prodId)
throws java.rmi.RemoteException,
MXException
prodId - String value of MaxprodidMXExceptionjava.rmi.RemoteExceptionpublic boolean checkMaxprodidInAppTable(java.lang.String prodId)
throws java.rmi.RemoteException,
MXException
prodId - Value of Maxprodid columnjava.rmi.RemoteExceptionMXExceptionpublic boolean checkAppInAppTable(java.lang.String appName)
throws java.rmi.RemoteException,
MXException
appName - java.rmi.RemoteExceptionMXException