public static ClassLoader getClassLoader ( J2EEName beanName ) { ClassLoader cl = null ; final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; // d532639.2 if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getClassLoader(" + beanName + ")" ) ; HomeInternal hi = homeOfHomes . getHome ( beanName ) ; if ( hi != null ) { cl = hi . getClassLoader ( ) ; } else { if ( isTraceOn && tc . isDebugEnabled ( ) ) Tr . exit ( tc , "getClassLoader: Home not found!" ) ; } if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "getClassLoader: " + cl ) ; return cl ; }
Get the ClassLoader for the bean specified by beanName