private void processBeanInterceptors ( ) // d630717 throws EJBConfigurationException { ivBeanInterceptorProxyMap = createInterceptorProxyMap ( ivEjbClass , - 1 ) ; // F743-1751 - Not all bean types collect bean methods. For those // that do, find the methods that are declared on the bean. if ( ivBeanLifecycleMethods != null ) { for ( InterceptorMethodKind kind : InterceptorMethodKind . values ( ) ) { int mid = kind . getMethodID ( ) ; if ( mid != - 1 ) { List < InterceptorProxy > proxyList = ivBeanInterceptorProxyMap . get ( kind ) ; if ( proxyList != null ) { for ( InterceptorProxy proxy : proxyList ) { Method m = proxy . ivInterceptorMethod ; if ( m . getDeclaringClass ( ) == ivEjbClass ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "found bean " + LifecycleInterceptorWrapper . TRACE_NAMES [ mid ] + " method: " + m ) ; ivBeanLifecycleMethods [ mid ] = m ; break ; } } } } } } }
Processes interceptor methods on the bean class .