org.jbpm.instantiation
Interface ProcessClassLoaderFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultProcessClassLoaderFactory, SharedProcessClassLoaderFactory

public interface ProcessClassLoaderFactory
extends java.io.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
 java.lang.ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)
           
 

Method Detail

getProcessClassLoader

java.lang.ClassLoader getProcessClassLoader(ProcessDefinition processDefinition)


Copyright © 2010 JBoss Community. All Rights Reserved.