001// Name
002//  $RCSfile: Status.java,v $
003// 
004// Copyright
005//  Copyright 2013-2105 Cloud Software Group, Inc. ALL RIGHTS RESERVED. 
006//  Cloud Software Group, Inc. Confidential Information
007//
008// History
009//  $Revision: 1.1.2.2 $ $Date: 2015/01/15 01:05:39 $
010//
011
012package com.kabira.platform.property;
013
014/**
015 * Property names for status system properties
016 * which may be read by the application at runtime.
017 * 
018 * These properties are read-only, both at deployment time and at runtime.
019 * 
020 * Setting these properties either at deployment time or at runtime is not
021 * supported an will result in undefined behavior.
022 */
023public class Status
024{
025    /**
026     * {@value} -
027     * Indicates whether the application was
028     * deployed in detached mode (true), or interactive mode (false).
029     * <p>
030     * A read-only, boolean property.
031     */
032    public static final String DETACH = "com.kabira.application.detach";
033
034    /**
035     * {@value} -
036     * The location of the application classes on the node.
037     * These application classes were copied to the node by the deployment
038     * tool. 
039     * <p>
040     * A read-only, string property.
041     */
042    public static final String CLASS_PATH = "com.kabira.application.class.path";
043    
044    /**
045     * {@value} -
046     * Set at JVM startup to the product build identifier, e.g. 111202.
047     * <p>
048     * A read-only, string property.
049     */
050    public static final String BUILD_IDENTIFIER = "com.kabira.platform.build";
051    
052    /**
053     * {@value} -
054     * Set at JVM startup to the build
055     * type of the JVM and runtime environment.
056     * <p>
057     * The read-only, string property has a value of DEVELOPMENT or PRODUCTION.
058     */
059    public static final String BUILD_TYPE = "com.kabira.platform.buildType";
060    
061    /**
062     * {@value} -
063     * The name of the JVM specified at JVM deploy time.
064     * <p>
065     * A read-only, string property property.
066     */
067    public static final String JVM_NAME = "com.kabira.platform.jvm.name";
068    
069    /**
070     * {@value} -
071     * The name of the node which was set at node installation time.
072     * <p>
073     * A read-only, string property.
074     */
075    public static final String NODE_NAME = "com.kabira.platform.node.name";
076    
077    /**
078     * {@value} -
079     * Set at JVM startup to the product vendor, e.g. Cloud Software Group, Inc.
080     * <p>
081     * A read-only, string property.
082     */
083    public static final String VENDOR = "com.kabira.platform.vendor";
084    
085    /**
086     * {@value} -
087     * Set at JVM startup to the product version, e.g. 2.1.0.
088     * <p>
089     * A read-only, string property.
090     */
091    public static final String VERSION = "com.kabira.platform.version";
092
093    /**
094     * {@value} -
095     * Indicates whether the application asks for resources from the client.
096     * <p>
097     * A read-only, boolean property.
098     */
099    public static final String REMOTE_REQUESTS =
100        "com.kabira.application.remoteRequests";
101}