T - The type of the instances being served by the factory.public interface RecyclableTypeFactory<T> extends TypeFactory<T>, TypeRecyclable<T>
RecyclableTypeFactory is a TypeFactory providing
recycling support for instances as being created by the
RecyclableTypeFactoryTypeFactory.toInstance() (or
TypeFactory.toInstance(Properties). This is achieved by
implementing the TypeRecyclable interface. Invoking the
TypeRecyclable.recycleInstance(Object) method makes the passed
instance available to the RecyclableTypeFactory for reusing:
Instances passed back may be served (reused) again via the methods
RecyclableTypeFactoryTypeFactory.toInstance() (or
TypeFactory.toInstance(Properties).toInstance, toInstancerecycleInstanceCopyright © 2016. All rights reserved.