public final class ClassInstantiatorFactory
extends java.lang.Object
IClassInstantiator
for the current JVMModifier and Type | Method | Description |
---|---|---|
static IClassInstantiator |
getInstantiator() |
Returns a class instantiator suitable for the current JVM
|
static java.lang.String |
getJVM() |
Returns the current JVM as specified in the System properties
|
static java.lang.String |
getJVMSpecificationVersion() |
Returns the current JVM specification version (1.5, 1.4, 1.3)
|
static boolean |
is1_3Specifications() |
|
static void |
setDefaultInstantiator() |
Set back the default instantiator
|
static void |
setInstantiator(IClassInstantiator i) |
Allow to override the default instantiator.
|
public static java.lang.String getJVM()
public static java.lang.String getJVMSpecificationVersion()
public static boolean is1_3Specifications()
public static IClassInstantiator getInstantiator()
public static void setInstantiator(IClassInstantiator i)
i
- New instantiatorpublic static void setDefaultInstantiator()
Copyright © 2001-2019 EasyMock contributors. This documentation is provided under the terms of the Apache 2 licence.