try {
context.putPrivateData(InvocationType.class, InvocationType.FINDER_METHOD);
result = invokeFind(context, instance);
return prepareResults(context, result, component);
} finally {
component.releaseEntityBeanInstance(instance);
context.putPrivateData(InvocationType.class, invocationType);
}
}
};