|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.easymock.internal.ClassInstantiatorFactory
public final class ClassInstantiatorFactory
Factory returning a IClassInstantiatorfor the current JVM
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||