private final boolean classNeedsTransform ( String className ) { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) { Tr . entry ( tc , "classNeedsTransform : PUID = " + ivArchivePuId + ", class name = " + className ) ; //d454146 } boolean rtnVal = true ; for ( Pattern regex : transformExclusionPatterns ) { if ( regex . matcher ( className ) . matches ( ) ) { rtnVal = false ; break ; } } if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "classNeedsTransform : " + className + ( rtnVal ? " needs" : " does not need" ) + " transform." ) ; return rtnVal ; }
Determine if the input class needs persistence provider class transformation using a pre - defined regular expression filter .