public class CmpEntityBeanJdbcRelationshipInterceptor implements Interceptor {
private static final Logger log = Logger.getLogger(CmpEntityBeanJdbcRelationshipInterceptor.class);
private static final CmpEntityBeanJdbcRelationshipInterceptor INSTANCE = new CmpEntityBeanJdbcRelationshipInterceptor();
public Object processInvocation(InterceptorContext context) throws Exception {
CMRMessage relationshipMessage = context.getPrivateData(CMRMessage.class);
if (relationshipMessage == null) {
// Not a relationship message. Invoke down the chain
return context.proceed();
}
final CmpEntityBeanComponentInstance instance = (CmpEntityBeanComponentInstance) context.getPrivateData(ComponentInstance.class);