info.magnolia.objectfactory
Interface ComponentProvider

All Known Implementing Classes:
DefaultComponentProvider

public interface ComponentProvider

ComponentProvider is responsible for providing components, singletons or new instances. Magnolia "beans", "managers" etc are all provided by this.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Method Summary
<C> java.lang.Class<? extends C>
getImplementation(java.lang.Class<C> type)
           
<T> T
getSingleton(java.lang.Class<T> type)
           
<T> T
newInstance(java.lang.Class<T> type)
           
 

Method Detail

getImplementation

<C> java.lang.Class<? extends C> getImplementation(java.lang.Class<C> type)
                                               throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getSingleton

<T> T getSingleton(java.lang.Class<T> type)

newInstance

<T> T newInstance(java.lang.Class<T> type)


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