Package | Description |
---|---|
org.refcodes.factory | |
org.refcodes.factory.impls |
Class and Description |
---|
BeanLookupFactory
The
BeanLookupFactory defines the functionality which must be
provided in order to represent a factory for object creation of objects
identified by an ID String and of the expected type (in contrast to
the TypeFactory and the LookupFactory which create instances
of a predefined type specified with a generic argument). |
FactoryRuntimeException
The Class FactoryRuntimeException.
|
TypeFactory
The
TypeFactory defines the functionality which must be provided in
order to represent a factory for object creation of a predefined type
specified with a generic argument (in contrast to the
BeanLookupFactory , which creates instances of an expected type). |
TypeLookupFactory
The
TypeLookupFactory defines the functionality which must be
provided in order to represent a factory for object creation of *ALL* objects
being of a requested type (in contrast to the TypeFactory and the
LookupFactory which create instances of a predefined type specified
with a generic argument). |
TypeRecyclable
A factory implementing the
TypeRecyclable interface takes once
created instances back and will recycle them in terms of reusing: When a new
instance is to be created and the factory contains recycled instances, then
first recycled instances are returned till there are no more such instances
available. |
Class and Description |
---|
RecyclableTypeFactory
The
RecyclableTypeFactory is a TypeFactory providing
recycling support for instances as being created by the
RecyclableTypeFactory TypeFactory.toInstance() (or
TypeFactory.toInstance(Properties) . |
TypeFactory
The
TypeFactory defines the functionality which must be provided in
order to represent a factory for object creation of a predefined type
specified with a generic argument (in contrast to the
BeanLookupFactory , which creates instances of an expected type). |
TypeRecyclable
A factory implementing the
TypeRecyclable interface takes once
created instances back and will recycle them in terms of reusing: When a new
instance is to be created and the factory contains recycled instances, then
first recycled instances are returned till there are no more such instances
available. |
Copyright © 2017. All rights reserved.