- Enclosing class:
protected static class Classes.ClassFactoryProvider
- extends Object
ClassFactoryProvider is used to hide the "swapability" of ClassFactory.
This current implementation checks the current instance versus the configured property
on every call.
TODO : This could possibly be optimized or "blocked" as soon as we can now this property has indeed been configured.
I don't think the above would be interesting until we can do some refactoring of the ConfigLoader, PropertiesInitializer and SystemProperty classes.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Classes.ClassFactoryProvider(ClassFactory initial)
public ClassFactory current()
protected String getCurrentlyConfiguredClassName()
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.