org.objenesis.strategy
Interface InstantiatorStrategy

All Known Implementing Classes:
BaseInstantiatorStrategy, SerializingInstantiatorStrategy, StdInstantiatorStrategy

public interface InstantiatorStrategy

Defines a strategy to determine the best instantiator for a class.

Author:
Henri Tremblay

Method Summary
 ObjectInstantiator newInstantiatorOf(java.lang.Class type)
          Create a dedicated instantiator for the given class
 

Method Detail

newInstantiatorOf

ObjectInstantiator newInstantiatorOf(java.lang.Class type)
Create a dedicated instantiator for the given class

Parameters:
type - Class that will be instantiate
Returns:
Dedicated instantiator


Copyright © 2006-2009 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All Rights Reserved.