Platform Information
The platform information methods provide a way for your Broker clients to determine the version of the webMethods Broker Java API which they are using as well as the operating system and hardware platform on which they are executing.
Platform information is stored in the form of key-value pairs. The following keys are registered by the webMethods Broker Java API and cannot be changed. You can, however, add your own platform keys.
Key | Value |
AdapterLang | "Java" |
AdapterLangVersion | <current API version> |
OS | The name of the operating system under which the caller is executing. |
Hardware | The name of the hardware platform on which the caller is executing. |
Use the BrokerClient.getPlatformInfo method to obtain the value associated with a particular key.
Use the BrokerClient.getPlatformInfoKeys method to obtain an array of all the currently defined platform keys.
Use the BrokerClient.setPlatformInfo method to set the value associated with a particular key. If the platform key you specify does not exist, it will be added along with its value.