info.magnolia.objectfactory
Class Components

java.lang.Object
  extended by info.magnolia.objectfactory.Components

public class Components
extends java.lang.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

Constructor Summary
Components()
           
 
Method Summary
static ComponentProvider getComponentProvider()
           
static
<T> T
getSingleton(java.lang.Class<T> type)
          Convenience method for retrieving a singleton our of the ComponentProvider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Components

public Components()
Method Detail

getSingleton

public static <T> T getSingleton(java.lang.Class<T> type)
Convenience method for retrieving a singleton our of the ComponentProvider.


getComponentProvider

public static ComponentProvider getComponentProvider()


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