/wro4j-core/src/main/java/ro/isdc/wro/manager/callback/LifecycleCallbackRegistry.java
map.remove( Context.getCorrelationId( ) ) ;final String key = Context.getCorrelationId( ) ;
final String key = Context.getCorrelationId ( ) ;
private final List<ObjectFactory<LifecycleCallback>> callbackFactoryList = new ArrayList<ObjectFactory<LifecycleCallback>>(); private final Map<String, List<LifecycleCallback>> map = new ConcurrentHashMap<String, List<LifecycleCallback>>(); public void registerCallback(final ObjectFactory<LifecycleCallback> callbackFactory) { callbackFactoryList.add(callbackFactory); } private List<LifecycleCallback> getCallbacks() { <extra_id_0> List<LifecycleCallback> callbacks = map.get(key); if (callbacks == null) { callbacks = initCallbacks(); map.put(key, callbacks); } return callbacks;