info.magnolia.objectfactory.configuration
Class ImplementationConfiguration<T>
java.lang.Object
info.magnolia.objectfactory.configuration.ComponentConfiguration<T>
info.magnolia.objectfactory.configuration.ImplementationConfiguration<T>
- Type Parameters:
T
- the type
- All Implemented Interfaces:
- Cloneable
public class ImplementationConfiguration<T>
- extends ComponentConfiguration<T>
A simple mapping from type to implementation.
- Version:
- $Id$
ImplementationConfiguration
public ImplementationConfiguration()
ImplementationConfiguration
public ImplementationConfiguration(Class<T> type,
Class<? extends T> implementation)
getImplementation
public Class<? extends T> getImplementation()
setImplementation
public void setImplementation(Class<? extends T> implementation)
valueOf
public static <T> ImplementationConfiguration<T> valueOf(Class<T> type,
Class<? extends T> implementation)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.