/wro4j-core/src/main/java/ro/isdc/wro/model/factory/DefaultWroModelFactoryDecorator.java
callbackRegistry.onBeforeModelCreated( ) ;callbackRegistry.onAfterModelCreated( ) ;
callbackRegistry.onAfterModelCreated ( ) ;
final WroModelFactory modelFactory = decorate(getDecoratedObject()); injector.inject(modelFactory); model = modelFactory.create(); return model; } finally { authorizeModelResources(model); <extra_id_0> watch.stop(); LOG.debug(watch.prettyPrint()); } } private WroModelFactory decorate(final WroModelFactory decorated) { return new ModelTransformerFactory(new FallbackAwareWroModelFactory(decorated)).setTransformers(modelTransformers);