コード例 #1
0
 public boolean shouldOverride(String name) {
   // visiting the container classpath,
   if (_context.isParentLoaderPriority()) return true;
   return false;
 }
コード例 #2
0
 public boolean shouldOverride(String name) {
   // looking at webapp classpath, found already-parsed class
   // of same name - did it come from system or duplicate in webapp?
   if (_context.isParentLoaderPriority()) return false;
   return true;
 }