public static InjectorImpl current(ClassLoader loader){
  if (loader instanceof DynamicClassLoader) {
    return _localManager.getLevel(loader);
  }
 else {
    SoftReference<InjectorImpl> injectRef=_loaderManagerMap.get(loader);
    if (injectRef != null) {
      return injectRef.get();
    }
 else {
      return null;
    }
  }
}

public static InjectorImpl current ( ClassLoader loader ) { if ( loader instanceof DynamicClassLoader ) { return _localManager . getLevel ( loader ) ; } else { SoftReference < InjectorImpl > injectRef = _loaderManagerMap . get ( loader ) ; if ( injectRef != null ) { return injectRef . get ( ) ; } else { return null ; } } }
returns the current inject manager .
