br.com.caelum.iogi
Class ObjectInstantiator

java.lang.Object
  extended by br.com.caelum.iogi.ObjectInstantiator
All Implemented Interfaces:
Instantiator<Object>

public class ObjectInstantiator
extends Object
implements Instantiator<Object>


Constructor Summary
ObjectInstantiator(Instantiator<Object> argumentInstantiator, DependencyProvider dependencyProvider, ParameterNamesProvider parameterNamesProvider)
           
 
Method Summary
 Object instantiate(Target<?> target, Parameters parameters)
           
 boolean isAbleToInstantiate(Target<?> target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInstantiator

public ObjectInstantiator(Instantiator<Object> argumentInstantiator,
                          DependencyProvider dependencyProvider,
                          ParameterNamesProvider parameterNamesProvider)
Method Detail

isAbleToInstantiate

public boolean isAbleToInstantiate(Target<?> target)
Specified by:
isAbleToInstantiate in interface Instantiator<Object>

instantiate

public Object instantiate(Target<?> target,
                          Parameters parameters)
Specified by:
instantiate in interface Instantiator<Object>


Copyright © 2014. All Rights Reserved.