/wro4j-core/src/main/java/ro/isdc/wro/model/group/processor/Injector.java
private final Map<Object, Boolean> injectedObjects = Collections.synchronizedMap( new WeakHashMap<Object, Boolean>( ) ) ; private final Map<Class<?>, Object> map;private static final Logger LOG = LoggerFactory.getLogger( Injector.class) ;
private static final Logger LOG = LoggerFactory.getLogger ( Injector.class ) ; private final Map<Class<?>, Object> map; private final Map<Object, Boolean> injectedObjects = Collections.synchronizedMap ( new WeakHashMap<Object, Boolean> ( ) ) ;
import org.slf4j.LoggerFactory; import ro.isdc.wro.WroRuntimeException; import ro.isdc.wro.model.group.Inject; import ro.isdc.wro.model.group.processor.InjectorBuilder.InjectorObjectFactory; import ro.isdc.wro.util.ObjectDecorator; public final class Injector { <extra_id_0> Injector(final Map<Class<?>, Object> map) { notNull(map); this.map = map; } public <T> T inject(final T object) { notNull(object);