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 java.lang.Object
implements InstantiatorStrategy

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

Author:
Henri Tremblay

Field Summary
protected static java.lang.String GNU
          JVM_NAME prefix for GCJ
protected static java.lang.String JROCKIT
          JVM_NAME prefix for JRockit
protected static java.lang.String JVM_NAME
          JVM name
protected static java.lang.String SUN
          JVM_NAME prefix for Sun Java HotSpot
protected static java.lang.String VENDOR
          Vendor name
protected static java.lang.String VENDOR_VERSION
          Vendor version
protected static java.lang.String VM_INFO
          JVM version
protected static java.lang.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 java.lang.String JROCKIT
JVM_NAME prefix for JRockit

See Also:
Constant Field Values

GNU

protected static final java.lang.String GNU
JVM_NAME prefix for GCJ

See Also:
Constant Field Values

SUN

protected static final java.lang.String SUN
JVM_NAME prefix for Sun Java HotSpot

See Also:
Constant Field Values

VM_VERSION

protected static final java.lang.String VM_VERSION
JVM version


VM_INFO

protected static final java.lang.String VM_INFO
JVM version


VENDOR_VERSION

protected static final java.lang.String VENDOR_VERSION
Vendor version


VENDOR

protected static final java.lang.String VENDOR
Vendor name


JVM_NAME

protected static final java.lang.String JVM_NAME
JVM name

Constructor Detail

BaseInstantiatorStrategy

public BaseInstantiatorStrategy()


Copyright © 2010. All Rights Reserved.