org.omnaest.utils.structure.element.factory
Interface FactoryTypeAware<E>

Type Parameters:
E -
All Superinterfaces:
Factory<E>
All Known Implementing Classes:
ArrayListFactory, FactoryToFactoryTypeAwareAdapter, FactoryTypeAwareReflectionBased, HashSetFactory, LinkedHashSetFactory

public interface FactoryTypeAware<E>
extends Factory<E>

Type aware Factory which holds getInstanceType() information about the created instance type.

Author:
Omnaest
See Also:
Factory

Method Summary
 Class<?> getInstanceType()
          Returns the Class type the Factory.newInstance() method produces
 
Methods inherited from interface org.omnaest.utils.structure.element.factory.Factory
newInstance
 

Method Detail

getInstanceType

Class<?> getInstanceType()
Returns the Class type the Factory.newInstance() method produces

Returns:


Copyright © 2013. All Rights Reserved.