org.jbpm.instantiation
Class SharedProcessClassLoaderFactory
java.lang.Object
org.jbpm.instantiation.SharedProcessClassLoaderFactory
- All Implemented Interfaces:
- Serializable, ProcessClassLoaderFactory
public class SharedProcessClassLoaderFactory
- extends Object
- implements ProcessClassLoaderFactory
Factory that keeps soft references to the class loaders it produces, in order to prevent
duplicate class loaders from eating up the permanent generation space. The cache does not
prevent the garbage collector from discarding the class loaders.
- Author:
- Alejandro Guizar
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedProcessClassLoaderFactory
public SharedProcessClassLoaderFactory()
getProcessClassLoader
public ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)
- Specified by:
getProcessClassLoader in interface ProcessClassLoaderFactory
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.