public static void register(ResourceResolverSpi resourceResolverSpi,boolean start){
  JavaUtils.checkRegisterPermission();
synchronized (resolverList) {
    if (start) {
      resolverList.add(0,new ResourceResolver(resourceResolverSpi));
    }
 else {
      resolverList.add(new ResourceResolver(resourceResolverSpi));
    }
  }
  if (log.isLoggable(java.util.logging.Level.FINE)) {
    log.log(java.util.logging.Level.FINE,"Registered resolver: " + resourceResolverSpi.toString());
  }
}

public static void register ( ResourceResolverSpi resourceResolverSpi , boolean start ) { JavaUtils . checkRegisterPermission ( ) ; synchronized ( resolverList ) { if ( start ) { resolverList . add ( 0 , new ResourceResolver ( resourceResolverSpi ) ) ; } else { resolverList . add ( new ResourceResolver ( resourceResolverSpi ) ) ; } } if ( log . isLoggable ( java . util . logging . Level . FINE ) ) { log . log ( java . util . logging . Level . FINE , "Registered resolver: " + resourceResolverSpi . toString ( ) ) ; } }
registers a resourceresolverspi instance . this method logs a warning if the class cannot be registered .
