/** * Populate the list of the post construct callbacks ordered according to the spec rules defined in * 12.4.1 Multiple Callback Interceptor Methods for a Life Cycle Callback Event. * * @throws ClassNotFoundException * @throws NoSuchMethodException * @throws SecurityException * */ private void processPostConstructs() throws ClassNotFoundException, SecurityException, NoSuchMethodException { LifecycleCallbacksMetaData callbacks = xml.getPostConstructs(); if(callbacks == null || callbacks.isEmpty()) return; List<Method> methods = callbacks.getOrderedCallbacks(mainClass); postConstructs.addAll(methods); }