public class ParserService extends AppService implements Service, ParserServiceRemote
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
url
Url of this service.
|
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOPAPPLOGGER, 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 |
|---|
ParserService(MXServer mxServer) |
ParserService(java.lang.String url,
MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSqlInjection(java.lang.String where)
check if where clause includes ";" with sql injection statement
|
void |
configure(java.util.Properties properties)
Configures the service
|
void |
destroy()
Release system resources.
|
boolean |
getBoolean(java.lang.String str,
MboRemote mbo)
Parse the string and returns its evaluated value as a boolean.
|
java.util.Date |
getDate(java.lang.String str,
MboRemote mbo)
Parse the string and returns its evaluated value as a DateTime.
|
double |
getDouble(java.lang.String str,
MboRemote mbo)
Parse the string and returns its evaluated value as a double.
|
int |
getInt(java.lang.String str,
MboRemote mbo)
Parse the string and returns its evaluated value as a int.
|
int |
getNodeDataType(java.lang.String str)
Returns the data type of the expression.
|
int |
getNodeDataType(java.lang.String str,
MboRemote mbo)
Returns the data type of the expression based on a Mbo.
|
java.lang.String |
getString(java.lang.String str,
MboRemote mbo)
Parse the string and returns its evaluated value as a String.
|
java.lang.String |
getURL()
Used by ServiceCoordinator
|
boolean |
isAppService()
Used by ServiceCoordinator
|
boolean |
isSingletonService()
Is used to setup singleton services, i.e.
|
java.lang.String |
nodeString(java.lang.String str)
Prints the tree nodes.
|
void |
parse(java.lang.String str,
MboRemote mbo)
Parse the string based on the given mbo.
|
void |
restart()
Indicates that the Service should reload any cached
information.
|
void |
setURL(java.lang.String url)
Used by ServiceCoordinator
|
checkSecurity, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, init, initCriteriaList, isRunning, setName, setProxy, setRunning, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamegetNameprotected java.lang.String url
public ParserService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic ParserService(java.lang.String url,
MXServer mxServer)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void configure(java.util.Properties properties)
configure in interface Serviceconfigure in class AppServiceServicepublic void parse(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
parse in interface ParserServiceRemotestr - The Expression to test parsingMXExceptionjava.rmi.RemoteExceptionpublic int getNodeDataType(java.lang.String str)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetNodeDataType in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic int getNodeDataType(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetNodeDataType in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean getBoolean(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetBoolean in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getString(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetString in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic double getDouble(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetDouble in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic int getInt(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetInt in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getDate(java.lang.String str,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
ParserServiceRemotegetDate in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String nodeString(java.lang.String str)
throws MXException,
java.rmi.RemoteException
nodeString in interface ParserServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getURL()
AppServicegetURL in interface AppServiceRemotegetURL in interface ServicegetURL in interface ServiceRemotegetURL in class AppServicepublic void setURL(java.lang.String url)
AppServicesetURL in interface ServicesetURL in class AppServicepublic boolean isAppService()
AppServiceisAppService in interface ServiceisAppService in interface ServiceRemoteisAppService in class AppServicepublic void restart()
throws java.rmi.RemoteException
AppServicerestart in interface ServiceRemoterestart in class AppServicejava.rmi.RemoteExceptionpublic boolean isSingletonService()
AppServiceisSingletonService in interface ServiceisSingletonService in interface ServiceRemoteisSingletonService in class AppServicepublic void destroy()
Servicedestroy in interface Servicedestroy in class AppServiceServicepublic void checkSqlInjection(java.lang.String where)
throws MXApplicationException,
java.rmi.RemoteException
checkSqlInjection in interface ParserServiceRemoteMXApplicationExceptionjava.rmi.RemoteException