org.objenesis.strategy
Class BaseInstantiatorStrategy

java.lang.Object
  extended by org.objenesis.strategy.BaseInstantiatorStrategy
All Implemented Interfaces:
InstantiatorStrategy
Direct Known Subclasses:
SerializingInstantiatorStrategy, StdInstantiatorStrategy

public abstract class BaseInstantiatorStrategy
extends Object
implements InstantiatorStrategy

Base InstantiatorStrategy class basically containing helpful constant to sort out JVMs.

Author:
Henri Tremblay

Field Summary
protected static String GNU
          JVM_NAME prefix for GCJ
protected static String JROCKIT
          JVM_NAME prefix for JRockit
protected static String JVM_NAME
          JVM name
protected static String PERC
          JVM_NAME prefix for Aonix PERC
protected static String SUN
          JVM_NAME prefix for Sun Java HotSpot
protected static String VENDOR
          Vendor name
protected static String VENDOR_VERSION
          Vendor version
protected static String VM_INFO
          JVM version
protected static String VM_VERSION
          JVM version
 
Constructor Summary
BaseInstantiatorStrategy()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objenesis.strategy.InstantiatorStrategy
newInstantiatorOf
 

Field Detail

JROCKIT

protected static final String JROCKIT
JVM_NAME prefix for JRockit

See Also:
Constant Field Values

GNU

protected static final String GNU
JVM_NAME prefix for GCJ

See Also:
Constant Field Values

SUN

protected static final String SUN
JVM_NAME prefix for Sun Java HotSpot

See Also:
Constant Field Values

PERC

protected static final String PERC
JVM_NAME prefix for Aonix PERC

See Also:
Constant Field Values

VM_VERSION

protected static final String VM_VERSION
JVM version


VM_INFO

protected static final String VM_INFO
JVM version


VENDOR_VERSION

protected static final String VENDOR_VERSION
Vendor version


VENDOR

protected static final String VENDOR
Vendor name


JVM_NAME

protected static final String JVM_NAME
JVM name

Constructor Detail

BaseInstantiatorStrategy

public BaseInstantiatorStrategy()


Copyright © 2011. All Rights Reserved.