@AroundInvoke
 public Object log(InvocationContext ctx) throws Exception {
   Object returnedObject = ctx.proceed();
   Map<String, Object> ctxData = ctx.getContextData();
   Object object = ctxData.get("entity");
   JPA_LOGGER.info("Entity: " + object);
   return returnedObject;
 }
 @SuppressWarnings("unchecked")
 @PostConstruct
 void intercept(InvocationContext ctx) throws Exception {
   contextDataBindings =
       (Set<Annotation>) ctx.getContextData().get(InvocationContextInterceptorBindingsTest.KEY);
   if (ctx instanceof WeldInvocationContext) {
     contextBindings = ((WeldInvocationContext) ctx).getInterceptorBindings();
   }
   ctx.proceed();
 }