returnthe annoation type this annotation handler is handling return PostActivate.class;
return PostActivate.class;
Method annotatedMethod = (Method) ainfo.getAnnotatedElement(); LifecycleCallbackDescriptor postActivate = new LifecycleCallbackDescriptor(); postActivate.setLifecycleCallbackClass(annotatedMethod.getDeclaringClass().getName()); postActivate.setLifecycleCallbackMethod(annotatedMethod.getName()); return postActivate;
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) { EjbSessionDescriptor ejbSessionDescriptor = (EjbSessionDescriptor) next.getDescriptor(); ejbSessionDescriptor.addPostActivateDescriptor( getPostActivateDescriptor(ainfo)); } return getDefaultProcessedResult();
EjbInterceptor ejbInterceptor = ejbInterceptorContext.getDescriptor(); ejbInterceptor.addPostActivateDescriptor( getPostActivateDescriptor(ainfo)); return getDefaultProcessedResult();