Class Classes.ClassFactoryProvider

  extended by info.magnolia.objectfactory.Classes.ClassFactoryProvider
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.

Constructor Summary
Classes.ClassFactoryProvider(ClassFactory initial)
Method Summary
 ClassFactory current()
protected  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 String getCurrentlyConfiguredClassName()

Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.