info.magnolia.objectfactory
Class Classes.ClassFactoryProvider
java.lang.Object
info.magnolia.objectfactory.Classes.ClassFactoryProvider
- Enclosing class:
- Classes
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 |
Classes.ClassFactoryProvider
public Classes.ClassFactoryProvider(ClassFactory initial)
current
public ClassFactory current()
getCurrentlyConfiguredClassName
protected String getCurrentlyConfiguredClassName()
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.