public final class ClassInstantiatorFactory extends Object
IClassInstantiator
for the current JVMModifier and Type | Method and Description |
---|---|
static IClassInstantiator |
getInstantiator()
Returns a class instantiator suitable for the current JVM
|
static String |
getJVM()
Returns the current JVM as specified in the System properties
|
static 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 String getJVM()
public static 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–2022 EasyMock contributors. All rights reserved.