/**
  * The interceptor method. This should intercept postConstruct of the bean
  *
  * @throws Exception runtime exceptions.
  */
 @PostConstruct
 public void inBeanInterceptorPostConstruct() throws Exception {
   Map<String, Object> ctxData = Interceptor.profile(this, "inBeanInterceptorPostConstruct");
   setContextData(ctxData);
 }
 /**
  * The interceptor method. This should intercept preDestroy of the bean.
  *
  * @throws Exception runtime exceptions.
  */
 @PreDestroy
 public void inBeanInterceptorPreDestroy() throws Exception {
   Map<String, Object> ctxData = Interceptor.profile(this, "inBeanInterceptorPreDestroy");
   setContextData(ctxData);
 }
 /**
  * The interceptor method. This should intercept all business methods in this bean class. It
  * cannot exclude even those annotated with <code>@ExcludeClassInterceptors</code>
  *
  * @param ctx - InvocationContext
  * @return - the result of the next method invoked. If a method returns void, proceed returns
  *     null. For lifecycle callback interceptor methods, if there is no callback method defined on
  *     the bean class, the invocation of proceed in the last interceptor method in the chain is a
  *     no-op, and null is returned. If there is more than one such interceptor method, the
  *     invocation of proceed causes the container to execute those methods in order.
  * @throws Exception runtime exceptions or application exceptions that are allowed in the throws
  *     clause of the business method.
  */
 @AroundInvoke
 public Object inBeanInterceptor(InvocationContext ctx) throws Exception {
   Map<String, Object> ctxData = Interceptor.profile(ctx, "inBeanInterceptor");
   setContextData(ctxData);
   return ctx.proceed();
 }
 /**
  * The interceptor method. This should intercept prePassivate of the bean.
  *
  * @throws Exception runtime exceptions.
  */
 @PrePassivate
 public void inBeanInterceptorPrePassivate() throws Exception {
   Map<String, Object> ctxData = Interceptor.profile(this, "inBeanInterceptorPrePassivate");
   setContextData(ctxData);
 }