br.com.caelum.iogi
Class MultiInstantiator

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

public class MultiInstantiator
extends Object
implements Instantiator<Object>


Constructor Summary
MultiInstantiator(Collection<Instantiator<?>> instantiators)
           
 
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

MultiInstantiator

public MultiInstantiator(Collection<Instantiator<?>> instantiators)
Method Detail

instantiate

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

isAbleToInstantiate

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


Copyright © 2014. All Rights Reserved.