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> Class<? extends C>
getImplementation(Class<C> type)
           
<T> T
getSingleton(Class<T> type)
           
<T> T
newInstance(Class<T> type)
           
 

Method Detail

getImplementation

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

getSingleton

<T> T getSingleton(Class<T> type)

newInstance

<T> T newInstance(Class<T> type)


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