360361362363364365366367368369
// EJB 3.0 5.6.3: the class or any super-class may implement the ejbCreate method Method method = getMethod(container.getBeanClass(), "ejbCreate"); if(method != null) { addAnnotation(new PostConstructImpl(), container, method); } return container; }
953954955956957958959960961962963
{ annotation = new InitImpl(); } else { annotation = new PostConstructImpl(); } annotationClass = annotation.annotationType(); method.setMethodName("ejbCreate"); addAnnotations(annotationClass, annotation, container, method); }
20142015201620172018201920202021202220232024
if (ann == AroundInvoke.class) { return new AroundInvokeImpl(); } else if (ann == PostConstruct.class) { return new PostConstructImpl(); } else if (ann == PostActivate.class) { return new PostActivateImpl(); } else if (ann == PrePassivate.class) {
20172018201920202021202220232024202520262027
940941942943944945946947948949950
19791980198119821983198419851986198719881989