DirectoryManager locator = HyFlow.getLocator();
for(AbstractDistinguishable distinguishable:acquiredObjects){
if(incrementVersion)
((AbstractLoggableObject)distinguishable).__incVersion();
((AbstractLoggableObject)distinguishable).__release();
locator.release(distinguishable);
Logger.debug("Release :" + distinguishable.getId());
}
} finally {
if(clear){
Logger.debug(txnId + ": Remove from registery");