returnthe annoation type this annotation handler is handling return AroundInvoke.class;
return AroundInvoke.class;
Method m = (Method) ainfo.getAnnotatedElement(); LifecycleCallbackDescriptor lccDesc = new LifecycleCallbackDescriptor(); lccDesc.setLifecycleCallbackClass(m.getDeclaringClass().getName()); lccDesc.setLifecycleCallbackMethod(m.getName()); return lccDesc;
returnan array of annotation types this annotation handler would require to be processed (if present) before it processes it's own annotation type. return getEjbAnnotationTypes();
return getEjbAnnotationTypes();
return true;
for(EjbContext next : ejbContexts) { EjbDescriptor ejbDescriptor = (EjbDescriptor) next.getDescriptor(); ejbDescriptor.addAroundInvokeDescriptor( getAroundInvokeDescriptor(ainfo)); } return getDefaultProcessedResult();
EjbInterceptor ejbInterceptor = ejbInterceptorContext.getDescriptor(); ejbInterceptor.addAroundInvokeDescriptor( getAroundInvokeDescriptor(ainfo)); return getDefaultProcessedResult();