public interface XPlatform
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WEBMAKER_CLOUD_ENV_PROPERTY
The name of the system property that should be set to indicate we are running
in the more restrictive cloud environment.
|
static java.lang.String |
WEBMAKER_STUDIO_TEST_ENV_PROPERTY
The name of the system property that should be set to indicate we are running
in the more restrictive cloud environment.
|
Modifier and Type | Method and Description |
---|---|
CacheManager |
getCacheManager()
CacheManager accessor method.
|
MorphycConfig |
getMorphycConfig()
Returns the MorphycConfig object used by this xplatform instance.
|
java.lang.String |
getReport()
Returns full reporting information on the current state of this xplatform.
|
XLog |
getXLog()
XLog accessor method.
|
void |
refreshLogSettings()
Reloads the morphyc file and refreshes the log settings based
on the details now contained in it.
|
boolean |
service(java.lang.String service,
XDocument request,
XDocument response,
java.lang.String action,
RequestIdentification requestID)
Service the given request using the appropriate agent for the given service name.
|
void |
shutdown()
Shuts down this xplatform, and frees all resources used.
|
void |
shutdown(boolean forRestart)
Shuts down this xplatform, and frees all resources used.
|
void |
startup()
This method initialises the xplatform, and must be called before any service request are made.
|
static final java.lang.String WEBMAKER_STUDIO_TEST_ENV_PROPERTY
static final java.lang.String WEBMAKER_CLOUD_ENV_PROPERTY
void startup()
void shutdown()
void shutdown(boolean forRestart)
forRestart
- boolean indicating whether the platform is being shutdown in
preparation to be restarted. If this is true, then some shutdown steps
(such as deregistering JDBC drivers) are not completed.void refreshLogSettings()
XLog getXLog()
MorphycConfig getMorphycConfig()
CacheManager getCacheManager()
boolean service(java.lang.String service, XDocument request, XDocument response, java.lang.String action, RequestIdentification requestID)
service
- A string containing the full service name to callrequestID
- A RequestIdentification object containing the ID details for this request.request
- The XDocument detailing the request message.response
- The XDocument that will contain the response.action
- The action that should be called.java.lang.String getReport()
MorphycConfig.getReport()
,
XAgentRM.getReport()
Copyright © 2007 Hyfinity Ltd. All Rights Reserved.