To retrieve information about the deployed runtime environment, like version information, use the following method in the QueryService:
RuntimeEnvironmentInfo getRuntimeEnvironmentInfo();
The method does not require any authentication and is not restricted to any authorizations or grants. It returns a runtime environment information object of type RuntimeEnvironmentInfo. This interface represents a snapshot about information for the runtime environment.
import org.eclipse.stardust.common.config.Version;
public interface RuntimeEnvironmentInfo extends Serializable
{
public Version getVersion();
}