|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.objectfactory.Classes.ClassFactoryProvider
protected static class Classes.ClassFactoryProvider
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.
Constructor Summary | |
---|---|
Classes.ClassFactoryProvider(ClassFactory initial)
|
Method Summary | |
---|---|
ClassFactory |
current()
|
protected java.lang.String |
getCurrentlyConfiguredClassName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Classes.ClassFactoryProvider(ClassFactory initial)
Method Detail |
---|
public ClassFactory current()
protected java.lang.String getCurrentlyConfiguredClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |