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

java.lang.Object
  extended by info.magnolia.objectfactory.configuration.ComponentConfiguration<T>
Type Parameters:
T - the type of the component
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ConfiguredComponentConfiguration, ImplementationConfiguration, InstanceConfiguration, ProviderConfiguration

public abstract class ComponentConfiguration<T>
extends Object
implements Cloneable

Represents a configuration of a component for a specific type.

Version:
$Id$

Constructor Summary
protected ComponentConfiguration()
           
protected ComponentConfiguration(Class<T> type)
           
 
Method Summary
protected  ComponentConfiguration clone()
           
 String getScope()
           
 Class<T> getType()
           
 boolean isLazy()
           
 void setLazy(boolean lazy)
           
 void setScope(String scope)
           
 void setType(Class<T> type)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentConfiguration

protected ComponentConfiguration()

ComponentConfiguration

protected ComponentConfiguration(Class<T> type)
Method Detail

getType

public Class<T> getType()

setType

public void setType(Class<T> type)

getScope

public String getScope()

setScope

public void setScope(String scope)

isLazy

public boolean isLazy()

setLazy

public void setLazy(boolean lazy)

clone

protected ComponentConfiguration clone()
                                throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


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