public class VersionClassLoader extends Object
| Constructor and Description |
|---|
VersionClassLoader() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getVersionedInstance(String className,
Object[] args)
Use reflection to create a new instance of a versioned class whose
name is specified by className.
|
static ClassLoader |
initClassLoader(long classVersion)
If PdxPrms.initClassLoader is true, then randomly choose a versioned
class path and create and install a class loader for it on this thread.
|
public static ClassLoader initClassLoader(long classVersion) throws Exception
Exceptionpublic static Object getVersionedInstance(String className, Object[] args) throws Exception
className - The name of the versioned class to create.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.