public class MaxLicMonitorService extends AppService implements MaxLicMonitorServiceRemote
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 |
---|
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, 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 MaxLicMonitorService() throws java.rmi.RemoteException
java.rmi.RemoteException
public MaxLicMonitorService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv
- --
the "Server Environment" this Service is being created in.java.rmi.RemoteException
public void init()
AppService
init
in interface Service
init
in class AppService
Service
public java.lang.String getLicProductKeys() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static MXLogger getLictrackLogger()
public java.util.HashSet<java.lang.String> getProductKEYS() throws java.lang.Exception
java.lang.Exception
public java.lang.String getProductName(java.lang.String prodId) throws java.rmi.RemoteException, MXException
prodId
- String value of MaxprodidMXException
java.rmi.RemoteException
public boolean checkMaxprodidInAppTable(java.lang.String prodId) throws java.rmi.RemoteException, MXException
prodId
- Value of Maxprodid columnjava.rmi.RemoteException
MXException
public boolean checkAppInAppTable(java.lang.String appName) throws java.rmi.RemoteException, MXException
appName
- java.rmi.RemoteException
MXException