mpo 2003/08/26 02:04:39
Added: src/java/org/apache/cocoon/components/flow ContinuationsDisposer.java Log: Adding the new ContinuationsDisposer interface declaring the callback for implementation specific Clean-up of continuations.
See initial proposal of http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105948225805344&w=2
Sorry for being late on this, but is this new ContinuationsDisposer interface really needed ? The use case explains that the interpreter will implement ContinuationsDisposer. Since it's the interpreter that creates WebContinuation instances, why can't it create a specialized subclass that does the call back on invalidate() ?
And if finally this proves to be really needed, the name doesn't seem adequate, as this interface is notified of the disposal and doesn't do the disposal job. So this could be a ContinuationsManagerListener (which can also be notified on creation).
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
