info.magnolia.objectfactory.configuration
Class ProviderConfiguration<T>

java.lang.Object
  extended by info.magnolia.objectfactory.configuration.ComponentConfiguration<T>
      extended by info.magnolia.objectfactory.configuration.ProviderConfiguration<T>
Type Parameters:
T - the type
All Implemented Interfaces:
Cloneable

public class ProviderConfiguration<T>
extends ComponentConfiguration<T>

Configuration for a provider that acts as a factory, supported types are ComponentFactory and Provider.

Version:
$Id$

Constructor Summary
ProviderConfiguration()
           
ProviderConfiguration(Class<T> type, Class<?> providerClass)
           
 
Method Summary
 Class<?> getProviderClass()
           
 void setProviderClass(Class<?> providerClass)
           
 
Methods inherited from class info.magnolia.objectfactory.configuration.ComponentConfiguration
clone, getScope, getType, isLazy, setLazy, setScope, setType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderConfiguration

public ProviderConfiguration()

ProviderConfiguration

public ProviderConfiguration(Class<T> type,
                             Class<?> providerClass)
Method Detail

getProviderClass

public Class<?> getProviderClass()

setProviderClass

public void setProviderClass(Class<?> providerClass)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.