IClassInstantiatorfor the current JVM
| Modifier and Type | Field and Description |
|---|---|
| private static IClassInstantiator |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IClassInstantiator | Returns: a class instantiator usable on the current JVMReturns a class instantiator suitable for the current JVM |
| public static String | |
| public static String | Returns: current JVM specification versionReturns the current JVM specification version (1.5, 1.4, 1.3) |
| public static boolean | |
| public static void | |
| public static void |
| instantiator | back to summary |
|---|---|
| private static IClassInstantiator instantiator | |
| ClassInstantiatorFactory | back to summary |
|---|---|
| private ClassInstantiatorFactory() | |
| getInstantiator | back to summary |
|---|---|
| public static IClassInstantiator getInstantiator() Returns a class instantiator suitable for the current JVM
| |
| getJVM | back to summary |
|---|---|
| public static String getJVM() Returns the current JVM as specified in the System properties
| |
| getJVMSpecificationVersion | back to summary |
|---|---|
| public static String getJVMSpecificationVersion() Returns the current JVM specification version (1.5, 1.4, 1.3)
| |
| is1_3Specifications | back to summary |
|---|---|
| public static boolean is1_3Specifications() | |
| setDefaultInstantiator | back to summary |
|---|---|
| public static void setDefaultInstantiator() Set back the default instantiator | |
| setInstantiator | back to summary |
|---|---|
| public static void setInstantiator(IClassInstantiator i) Allow to override the default instantiator. Useful when the default one isn't able to create mocks in a given environment.
| |