info.magnolia.objectfactory
Class Components
java.lang.Object
info.magnolia.objectfactory.Components
public class Components
- extends Object
Entry point to the ComponentProvider.
The ComponentProvider implementation can currently not be swapped, as opposed to the ClassFactory
,
using Classes
.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
- See Also:
ComponentProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Components
public Components()
getSingleton
public static <T> T getSingleton(Class<T> type)
- Convenience method for retrieving a singleton our of the
ComponentProvider
.
getComponentProvider
public static ComponentProvider getComponentProvider()
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.