com.metamatrix.common.util
Class ApplicationInfo

java.lang.Object
  extended by com.metamatrix.common.util.ApplicationInfo
All Implemented Interfaces:
java.io.Serializable

public final class ApplicationInfo
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String APPLICATION_BUILD_NUMBER_PROPERTY
           
static java.lang.String APPLICATION_PRODUCT_INFORMATION
           
 
Method Summary
 java.lang.String getBuildDate()
           
 java.lang.String getBuildNumber()
           
 java.lang.String getClasspathInfo()
          The getClasspathInfo method is used to capture the current classpath information.
 java.lang.String getCopyright()
           
static ApplicationInfo getInstance()
          Get the application information instance for this VM.
 java.lang.String getMajorReleaseNumber()
           
 int getMajorReleaseVersion()
           
 int getMinorReleaseVersion()
           
 java.lang.String getReleaseNumber()
           
 java.lang.String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_PRODUCT_INFORMATION

public static final java.lang.String APPLICATION_PRODUCT_INFORMATION
See Also:
Constant Field Values

APPLICATION_BUILD_NUMBER_PROPERTY

public static final java.lang.String APPLICATION_BUILD_NUMBER_PROPERTY
See Also:
Constant Field Values
Method Detail

getReleaseNumber

public java.lang.String getReleaseNumber()

getMajorReleaseNumber

public java.lang.String getMajorReleaseNumber()

getMajorReleaseVersion

public int getMajorReleaseVersion()

getMinorReleaseVersion

public int getMinorReleaseVersion()

getBuildNumber

public java.lang.String getBuildNumber()

getUrl

public java.lang.String getUrl()

getCopyright

public java.lang.String getCopyright()

getBuildDate

public java.lang.String getBuildDate()

getInstance

public static ApplicationInfo getInstance()
Get the application information instance for this VM.

Returns:
the singleton instance for this VM; never null

getClasspathInfo

public java.lang.String getClasspathInfo()
The getClasspathInfo method is used to capture the current classpath information. The initial intent is to write this information to a file at VM startup time for debugging purposes and ensuring patches are applied.

Parameters:
outputstream -
Since:
4.2


Copyright © 2009. All Rights Reserved.