Package | Description |
---|---|
org.refcodes.factory | |
org.refcodes.factory.impls |
Class and Description |
---|
AbstractFactoryRuntimeException |
LookupIdFactory
The
LookupIdFactory 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
TypedFactory and the TypedLookupIdFactory which create
instances of a predefined type specified with a generic argument). |
LookupTypeFactory
The
LookupTypeFactory 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 TypedFactory and the
TypedLookupIdFactory which create instances of a predefined type
specified with a generic argument). |
TypedFactory
The
TypedFactory 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 LookupIdFactory
, which creates instances of an expected type). |
TypedRecycling
A factory implementing the
TypedRecycling 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 |
---|
LookupTypeFactory
The
LookupTypeFactory 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 TypedFactory and the
TypedLookupIdFactory which create instances of a predefined type
specified with a generic argument). |
TypedFactory
The
TypedFactory 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 LookupIdFactory
, which creates instances of an expected type). |
TypedRecycling
A factory implementing the
TypedRecycling 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. |
TypedRecyclingFactory
The
TypedRecyclingFactory is a TypedFactory providing
recycling support for instances as being created by the
TypedRecyclingFactory TypedFactory.createInstance() (or
TypedFactory.createInstance(Properties) . |
TypedTypeFactory
The
TypedTypeFactory 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 TypedFactory and the
TypedLookupIdFactory which create instances of a predefined type
specified with a generic argument). |
Copyright © 2016. All rights reserved.