public Object processInvocation(final InterceptorContext context) throws Exception {
        try {
            return context.proceed();
        } finally {
            final ManagedReference managedReference = (ManagedReference) context.getPrivateData(ComponentInstance.class).getInstanceData(contextKey);
            if (managedReference != null) {
                managedReference.release();
            }
        }
    }
public Object processInvocation ( final InterceptorContext context ) throws Exception { try { return context . proceed ( ) ; } finally { final ManagedReference managedReference = ( ManagedReference ) context . getPrivateData ( ComponentInstance . class ) . getInstanceData ( contextKey ) ; if ( managedReference != null ) { managedReference . release ( ) ; } } }
{@inheritDoc}