info.magnolia.objectfactory
Class ConfiguredComponentFactory<T>
java.lang.Object
info.magnolia.objectfactory.ConfiguredComponentFactory<T>
- Type Parameters:
T
- the components type
- All Implemented Interfaces:
- ComponentFactory<T>
public class ConfiguredComponentFactory<T>
- extends Object
- implements ComponentFactory<T>
Builds a component configured in the repository by using content2bean.
- Version:
- $Id$
Method Summary |
T |
newInstance()
Called by the ComponentProvider to create a component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfiguredComponentFactory
public ConfiguredComponentFactory(String path,
String workspace,
ComponentProvider componentProvider)
newInstance
public T newInstance()
- Description copied from interface:
ComponentFactory
- Called by the ComponentProvider to create a component. This will only be done once and hence instances created
by component factories are effectively singletons.
- Specified by:
newInstance
in interface ComponentFactory<T>
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.