org.jbpm.instantiation
Interface ProcessClassLoaderFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultProcessClassLoaderFactory, SharedProcessClassLoaderFactory

public interface ProcessClassLoaderFactory
extends Serializable

Factory to retrieve the Process ClassLoader which is then used to load delegation classes used by the process.

Default is the build in ProcessClassLoader, which tries to load the classes from the jBPM database first.

Can be configured by setting the property jbpm.process.class.loader in the configuration file to the class name of the custom class loader.

Implementations should be serializable, as the JbpmConfiguration that references them is.

Author:
bernd.ruecker@camunda.com

Method Summary
 ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)
           
 

Method Detail

getProcessClassLoader

ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.