@ SuppressWarnings ( "rawtypes" ) private void doPostConstruct ( Class clazz , List < LifecycleCallback > postConstructs , Object instance ) throws InjectionException { if ( ! metadataComplete && clazz . getSuperclass ( ) != null ) { doPostConstruct ( clazz . getSuperclass ( ) , postConstructs , instance ) ; } String classname = clazz . getName ( ) ; String methodName = getMethodNameFromDD ( postConstructs , classname ) ; if ( methodName != null ) { invokeMethod ( clazz , methodName , instance ) ; } else if ( ! metadataComplete ) { Method method = getAnnotatedPostConstructMethod ( clazz ) ; if ( method != null ) { invokeMethod ( clazz , method . getName ( ) , instance ) ; } } }
Processes the PostConstruct callback method