org.apache.derby.iapi.services.info
Class JVMInfo

java.lang.Object
  extended by org.apache.derby.iapi.services.info.JVMInfo

public abstract class JVMInfo
extends java.lang.Object

This class is used to determine which Java specification Derby will run at. For a useful discussion of how this class is used, please see DERBY-3176.


Field Summary
static boolean J2ME
           
static int J2SE_14
           
static int J2SE_142
           
static int J2SE_15
           
static int J2SE_16
           
static int JAVA_SQL_TYPES_BOOLEAN
          JDBC Boolean type - Types.BIT in JDK1.1 & 1.2 & 1.3, Types.BOOLEAN in JDK1.4
static int JDK_ID
          The JVM's runtime environment.
 
Constructor Summary
JVMInfo()
           
 
Method Summary
static java.lang.String derbyVMLevel()
          Return Derby's understanding of the virtual machine's environment.
private static boolean vmCheck(java.lang.String vmVersion, java.lang.String id)
          Check the vmVersion against a speciifc value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDK_ID

public static final int JDK_ID
The JVM's runtime environment.


J2SE_14

public static final int J2SE_14
See Also:
Constant Field Values

J2SE_142

public static final int J2SE_142
See Also:
Constant Field Values

J2SE_15

public static final int J2SE_15
See Also:
Constant Field Values

J2SE_16

public static final int J2SE_16
See Also:
Constant Field Values

J2ME

public static final boolean J2ME

JAVA_SQL_TYPES_BOOLEAN

public static final int JAVA_SQL_TYPES_BOOLEAN
JDBC Boolean type - Types.BIT in JDK1.1 & 1.2 & 1.3, Types.BOOLEAN in JDK1.4

Constructor Detail

JVMInfo

public JVMInfo()
Method Detail

vmCheck

private static boolean vmCheck(java.lang.String vmVersion,
                               java.lang.String id)
Check the vmVersion against a speciifc value. Sun jvms are of the form


derbyVMLevel

public static java.lang.String derbyVMLevel()
Return Derby's understanding of the virtual machine's environment.


Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.