Retrieving Runtime Environment Information

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, like the version of the kernel, timestamp of the last archive time, UUID and name of the audit trail.

import org.eclipse.stardust.common.config.Version;

public interface RuntimeEnvironmentInfo extends Serializable
{
   /**
    * The version of the kernel.
    *  
    * @return version of the kernel.
    */
   public Version getVersion();
   
   /**
    * Timestamp of last target archive time.
    * 
    * @return timestamp last target archive time 
    */
   public Long getLastArchivingTime();
   
   /**
    * The UUID of the AuditTrail.
    * 
    * @return
    */
   public String getAuditTrailUUID();
   
   /**
    * The name of the AuditTrail.
    * 
    * @return
    */
   public String getAuditTrailName();
}