Package org.scictrl.mp.orbitcorrect.mvc
Class ApplicationEngine
java.lang.Object
org.scictrl.mp.orbitcorrect.mvc.ApplicationEngine
ApplicationEngine class.
- Author:
- igor@kriznar.com
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ConstantEPICS_CONNECTOR_INSTANCE="org.scictrl.csshell.epics.EPICSConnecto"{trunked}
static final String
ConstantEPICS_CONNECTOR_NAME="EPICS"
static final String
ConstantLOCAL_DATABUSH_LOCATOR="LOCAL"
static final String
ConstantPARAM_CONNECTOR="Connector"
static final String
ConstantPARAM_DATABUSH_LOCATOR="DataBush.locator"
static final String
ConstantSTATE="state"
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
activate.void
addPropertyChangeListener.void
addPropertyChangeListener.void
fail.org.apache.commons.configuration.Configuration
Getter for the fieldconfiguration
.org.scictrl.csshell.AbstractConnector
<?> Deprecated.use EControlSystemEngine insteadorg.apache.logging.log4j.Logger
getLogger.getName()
Getter for the fieldname
.org.apache.commons.configuration.Configuration
getPersistanceStore.getProperty
(String key) getProperty.getProperty
(String key, String defaultValue) getProperty.Getter for the fieldserver
.getState()
Getter for the fieldstate
.Getter for the fieldstateReport
.void
initialize.boolean
isLocal()
Returns true if it uses private locally started DataBush infrastructure and server.resolveApplicationConfigFile
(String confFileName) resolveApplicationConfigFile.void
setLocal
(boolean b) setLocal.void
setState
(ApplicationEngine.State s, String report) Setter for the fieldstate
.void
shutdown()
shutdown.
-
Field Details
-
PARAM_CONNECTOR
ConstantPARAM_CONNECTOR="Connector"
- See Also:
-
EPICS_CONNECTOR_NAME
ConstantEPICS_CONNECTOR_NAME="EPICS"
- See Also:
-
EPICS_CONNECTOR_INSTANCE
ConstantEPICS_CONNECTOR_INSTANCE="org.scictrl.csshell.epics.EPICSConnecto"{trunked}
- See Also:
-
PARAM_DATABUSH_LOCATOR
ConstantPARAM_DATABUSH_LOCATOR="DataBush.locator"
- See Also:
-
LOCAL_DATABUSH_LOCATOR
ConstantLOCAL_DATABUSH_LOCATOR="LOCAL"
- See Also:
-
STATE
ConstantSTATE="state"
- See Also:
-
-
Constructor Details
-
ApplicationEngine
Constructor for ApplicationEngine.
- Parameters:
name
- aString
object
-
-
Method Details
-
getLogger
public org.apache.logging.log4j.Logger getLogger()getLogger.
- Returns:
- a
Logger
object
-
isLocal
public boolean isLocal()Returns true if it uses private locally started DataBush infrastructure and server.- Returns:
- true if it uses private locally started DataBush
-
getProperty
getProperty.
-
setLocal
public void setLocal(boolean b) setLocal.
- Parameters:
b
- a boolean
-
addPropertyChangeListener
addPropertyChangeListener.
- Parameters:
n
- aString
objectl
- aPropertyChangeListener
object
-
addPropertyChangeListener
addPropertyChangeListener.
- Parameters:
l
- aPropertyChangeListener
object
-
getState
Getter for the field
state
.- Returns:
- a
ApplicationEngine.State
object
-
getStateReport
Getter for the field
stateReport
.- Returns:
- a
String
object
-
setState
Setter for the field
state
.- Parameters:
s
- aApplicationEngine.State
objectreport
- aString
object
-
getName
Getter for the field
name
.- Returns:
- a
String
object
-
initialize
public void initialize()initialize.
-
activate
public void activate()activate.
-
fail
fail.
- Parameters:
t
- aThrowable
object
-
resolveApplicationConfigFile
resolveApplicationConfigFile.
-
getConfiguration
public org.apache.commons.configuration.Configuration getConfiguration()Getter for the field
configuration
.- Returns:
- a
Configuration
object
-
getPersistanceStore
public org.apache.commons.configuration.Configuration getPersistanceStore()getPersistanceStore.
- Returns:
- a
Configuration
object
-
getServer
Getter for the field
server
.- Returns:
- a
IDataBushServer
object
-
getProperty
getProperty.
-
shutdown
public void shutdown()shutdown.
-
getConnector
Deprecated.use EControlSystemEngine insteadGetter for the field
connector
.- Returns:
- a
AbstractConnector
object
-