Class ProcessApplicationReferenceImpl

All Implemented Interfaces:

public class ProcessApplicationReferenceImpl extends Object implements ProcessApplicationReference

A ProcessApplicationReference implementation using WeakReference.

As long as the process application is deployed, the container or the application will hold a strong reference to the AbstractProcessApplication object. This class holds a WeakReference. When the process application is undeployed, the container or application releases all strong references. Since we only pass ProcessApplicationReferences to the process engine, it is guaranteed that the AbstractProcessApplication object can be reclaimed by the garbage collector, even if the undeployment and unregistration should fail for some improbable reason.

Daniel Meyer