AbstractRecyclableTypeFactory
is an abstract implementation of
the RecyclableTypeFactory
taking care on recycling and reusing
instances.AbstractRecyclableTypeFactory
.AbstractRecyclableTypeFactory
which allows
only a given maximum of recycled instances to be contained in this
factory.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).CollectionFactory
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).ContextConverterFactory
defines the functionality which must be
provided in order to represent a factory for object creation depending on
some provided context and of a predefined type specified with a generic
argument (in contrast to the BeanLookupFactory
, which creates
instances of an expected type).ContextLookupFactory
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 a predefined type specified with a
generic argument (in contrast to the BeanLookupFactory
, which creates
instances of an expected type).AbstractRecyclableTypeFactory
.LookupFactory
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 a predefined type specified with a
generic argument (in contrast to the BeanLookupFactory
, which creates
instances of an expected type).MarshalFactory
defines the functionality which must be provided
in order to represent a factory for object creation depending on some
provided context and of a predefined type specified with a generic argument
(in contrast to the BeanLookupFactory
, which creates instances of an
expected type).toInstance()
in case
there are no more recycled objects available (provided via
recycleInstance(Object)
).
-------------------------------------------------------------------------
This method creates / retrieves an instance of the given type with the
given identifier (name) constructed as defined in one to many
configuration files.toInstance(Properties)
in case there are no more recycled objects available (provided via
recycleInstance(Object)
).
-------------------------------------------------------------------------
This method creates / retrieves an instance of the given type with the
given identifier (name) constructed as defined in one to many
configuration files.RecyclableTypeFactory
is a TypeFactory
providing
recycling support for instances as being created by the
RecyclableTypeFactory
TypeFactory.toInstance()
(or
TypeFactory.toInstance(Properties)
.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
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
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.UnmarshalFactory
defines the functionality which must be provided
in order to represent a factory for object creation of an object being of a
requested type (in contrast to the TypeFactory
and the
SelectorFactory
from an instance of a provided type.Copyright © 2016. All rights reserved.