A {@link ProcessApplicationReference} implementation using{@link WeakReference}.
As long as the process application is deployed, the container or the application will hold a strong reference to the {@link AbstractProcessApplication}object. This class holds a {@link WeakReference}. When the process application is undeployed, the container or application releases all strong references. Since we only pass {@link ProcessApplicationReference ProcessApplicationReferences} to the process engine, it is guaranteed thatthe {@link AbstractProcessApplication} object can be reclaimed by the garbagecollector, even if the undeployment and unregistration should fail for some improbable reason.
@author Daniel Meyer
|
|