When you're starting a XINS server, a set of meta functions are
already available. We just saw in the Enable/Diable section the first two
_DisableFunction
and
_EnableFunction
. Note that all meta functions start
with an underscore.
Table 5. XINS Meta functions
Name | Description |
_NoOp | No operation: This meta function does nothing but maybe useful to monitor if the server is up or down or the response time of the server. |
_GetVersion | Get the running version of xml-enc, XINS, Java and of the API if defined. |
_GetSettings | Returns the properties as set in the runtime property file
and the Java properties as returned by
System.getProperties() . |
_GetStatistics | Returns the amount of memory used and for each function,
the number of successful call, and unsuccessful call with the
response time (min, max, last, average). This function may
have a parameter This
function may also have a parameter
|
_ResetStatistics | Resets the statistics. |
_ReloadProperties | Reloads the XINS properties file. |
_CheckLinks | Checks that the API can access the other API's or URL it's
using. This meta function will test the URLs set in the
runtime properties file where the property is defined in the
|
_GetFunctionList | Returns the list of the functions. |
_DisableFunction | Disables the function passed in the functionName input parameter. |
_EnableFunction | Enables the function passed in the functionName input parameter. |
_DisableAPI | Disables the API by returning HTTP 503 to all requests. |
_EnableAPI | Re-enables the API that was disabled. |
_WSDL | Returns the WSDL of the API. |
_SMD | Returns the Simple Method Description of the API. |