public class ParserService extends AppService implements Service, ParserServiceRemote
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 |
---|
ParserService(MXServer mxServer) |
ParserService(java.lang.String url,
MXServer mxServer) |
Modifier and Type | Method and Description |
---|---|
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, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, init, initCriteriaList, isRunning, setProxy, setRunning, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getName
public ParserService(MXServer mxServer) throws java.rmi.RemoteException
mxServer
- -- the "Server Environment" this Service is being
created in.java.rmi.RemoteException
public ParserService(java.lang.String url, MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteException
public void configure(java.util.Properties properties)
configure
in interface Service
configure
in class AppService
Service
public void parse(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
parse
in interface ParserServiceRemote
str
- The Expression to test parsingMXException
java.rmi.RemoteException
public int getNodeDataType(java.lang.String str) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getNodeDataType
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public int getNodeDataType(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getNodeDataType
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public boolean getBoolean(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getBoolean
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public java.lang.String getString(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getString
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public double getDouble(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getDouble
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public int getInt(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getInt
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public java.util.Date getDate(java.lang.String str, MboRemote mbo) throws MXException, java.rmi.RemoteException
ParserServiceRemote
getDate
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public java.lang.String nodeString(java.lang.String str) throws MXException, java.rmi.RemoteException
nodeString
in interface ParserServiceRemote
MXException
java.rmi.RemoteException
public java.lang.String getURL()
AppService
getURL
in interface AppServiceRemote
getURL
in interface Service
getURL
in interface ServiceRemote
getURL
in class AppService
public void setURL(java.lang.String url)
AppService
setURL
in interface Service
setURL
in class AppService
public boolean isAppService()
AppService
isAppService
in interface Service
isAppService
in interface ServiceRemote
isAppService
in class AppService
public void restart() throws java.rmi.RemoteException
AppService
restart
in interface ServiceRemote
restart
in class AppService
java.rmi.RemoteException
public boolean isSingletonService()
AppService
isSingletonService
in interface Service
isSingletonService
in interface ServiceRemote
isSingletonService
in class AppService
public void destroy()
Service
destroy
in interface Service
destroy
in class AppService
Service