Index
All Classes and Interfaces|All Packages|Serialized Form
B
- BeanFactory<TID> - Interface in org.refcodes.factory
-
A lookup factory supporting type and TID lookup.
- BeanLookupFactory<TID> - Interface in org.refcodes.factory
-
The
BeanLookupFactory
defines the functionality which must be provided in order to represent a factory for object creation of objects identified by an TIDString
and of the expected type (in contrast to theTypeFactory
and theLookupFactory
which create instances of a predefined type specified with a generic argument).
C
- ClassTypeFactory<T> - Class in org.refcodes.factory
-
The
ClassTypeFactory
produces instances of the givenClass
by invoking the empty constructor. - ClassTypeFactory(Class<T>) - Constructor for class org.refcodes.factory.ClassTypeFactory
-
Constructs a
ClassTypeFactory
for the givenClass
. - ContextLookupFactory<T,
TID, CTX> - Interface in org.refcodes.factory -
The
ContextLookupFactory
defines the functionality which must be provided in order to represent a factory for object creation of objects identified by an TIDString
and of a predefined type specified with a generic argument (in contrast to theBeanLookupFactory
, which creates instances of an expected type). - ContextTypeFactory<T,
CTX> - Interface in org.refcodes.factory -
The
ContextTypeFactory
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 theBeanLookupFactory
, which creates instances of an expected type). - create() - Method in class org.refcodes.factory.ClassTypeFactory
-
This method creates / retrieves an instance of the given type.
- create() - Method in interface org.refcodes.factory.Factory
-
This method creates / retrieves an instance of the given type.
- create() - Method in class org.refcodes.factory.PrototypeFactory
-
This method creates / retrieves an instance of the given type.
- create(CTX) - Method in interface org.refcodes.factory.ContextTypeFactory
-
This method creates / retrieves an instance of the given type with the given identifier (name) constructed as defined in one to many configuration files.
- create(CTX, Map<String, String>) - Method in interface org.refcodes.factory.ContextTypeFactory
-
This method creates / retrieves an instance of the given type with the given identifier (name) constructed as defined in one to many configuration files.
- create(Class<?>) - Method in interface org.refcodes.factory.BeanFactory
-
This method creates / retrieves an all instances of the given type.
- create(Class<?>) - Method in interface org.refcodes.factory.TypeLookupFactory
-
This method creates / retrieves an all instances of the given type.
- create(Map<String, String>) - Method in interface org.refcodes.factory.TypeFactory
-
This method creates / retrieves an instance of the given type.
- create(TID) - Method in interface org.refcodes.factory.BeanFactory
-
This method creates / retrieves an instance of the given type identified with the given identifier (name).
- create(TID) - Method in interface org.refcodes.factory.BeanLookupFactory
-
This method creates / retrieves an instance of the given type identified with the given identifier (name).
- create(TID) - Method in interface org.refcodes.factory.LookupFactory
-
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
- create(TID, CTX) - Method in interface org.refcodes.factory.ContextLookupFactory
-
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
- create(TID, CTX, Map<String, String>) - Method in interface org.refcodes.factory.ContextLookupFactory
-
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
- create(TID, Map<String, String>) - Method in interface org.refcodes.factory.BeanLookupFactory
-
This method creates / retrieves an instance of the given type identified with the given identifier (name).
- create(TID, Map<String, String>) - Method in interface org.refcodes.factory.LookupFactory
-
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
F
- Factory<T> - Interface in org.refcodes.factory
-
The
Factory
defines the most basic functionality which must be provided in order to create objects of a predefined type. - FactoryRuntimeException - Exception in org.refcodes.factory
-
The Class
FactoryRuntimeException
. - FactoryRuntimeException(String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
- FactoryRuntimeException(String, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
- FactoryRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
- FactoryRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
- FactoryRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
- FactoryRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
- fromMarshaled(C) - Method in interface org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComplement
-
This method creates / retrieves (converts to) an instance from the provided external representation.
- fromMarshaled(C, Class<?>...) - Method in interface org.refcodes.factory.UnmarshalFactory.UnmarshalFactoryComplement
-
Same as
UnmarshalFactory.toUnmarshaled(Object, Class...)
passing the (source's) complement instead of the source. - fromMarshaled(C, Class<T>) - Method in interface org.refcodes.factory.UnmarshalFactory.UnmarshalFactoryComplement
-
Same as
UnmarshalFactory.toUnmarshaled(Object, Class)
passing the (source's) complement instead of the source. - fromMarshaled(C, Class<T>, Map<String, String>) - Method in interface org.refcodes.factory.UnmarshalFactory.UnmarshalFactoryComplement
-
Same as
UnmarshalFactory.toUnmarshaled(Object, Class, Map)
passing the (source's) complement instead of the source. - fromMarshaled(C, Map<String, String>) - Method in interface org.refcodes.factory.UnmarshalTypeFactory.UnmarshalTypeFactoryComplement
-
This method creates / retrieves (converts to) an instance from the provided external representation.
- fromMarshaled(C, Map<String, String>, Class<?>...) - Method in interface org.refcodes.factory.UnmarshalFactory.UnmarshalFactoryComplement
-
Same as
UnmarshalFactory.toUnmarshaled(Object, Map, Class...)
passing the (source's) complement instead of the source. - fromPackaged(PACK) - Method in interface org.refcodes.factory.Packager.Extractor
-
Method for potential better code expressiveness, the same as
Packager.Extractor.toExtracted(Object)
. - fromUnmarshaled(SRC) - Method in interface org.refcodes.factory.MarshalFactory.MarshalFactoryComplement
- fromUnmarshaled(SRC, Map<String, String>) - Method in interface org.refcodes.factory.MarshalFactory.MarshalFactoryComplement
- fromUnmarshaled(T) - Method in interface org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement
-
This method creates / retrieves (converts to) an instance from the provided external representation.
- fromUnmarshaled(T, Map<String, String>) - Method in interface org.refcodes.factory.MarshalTypeFactory.MarshalTypeFactoryComplement
-
This method creates / retrieves (converts to) an instance from the provided external representation.
G
- getType() - Method in class org.refcodes.factory.ClassTypeFactory
-
This method retrieves the type which the implementing factory produces.
- getType() - Method in class org.refcodes.factory.PrototypeFactory
- getType() - Method in interface org.refcodes.factory.TypeFactory
-
This method retrieves the type which the implementing factory produces.
I
- initialize(T) - Method in interface org.refcodes.factory.Initializer
-
Initializes (configures) an instance of the given type.
- Initializer<T> - Interface in org.refcodes.factory
-
The
Initializer
defines the most basic functionality which must be provided in order to initialize (configure) objects of a predefined type. - InstantiationRuntimeException - Exception in org.refcodes.factory
-
Thrown in case of a caught runtime exception of an underlying framework which only shows up at runtime (probably not documented in any API).
- InstantiationRuntimeException(String) - Constructor for exception org.refcodes.factory.InstantiationRuntimeException
- InstantiationRuntimeException(String, String) - Constructor for exception org.refcodes.factory.InstantiationRuntimeException
- InstantiationRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.InstantiationRuntimeException
- InstantiationRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.InstantiationRuntimeException
- InstantiationRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.InstantiationRuntimeException
- InstantiationRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.InstantiationRuntimeException
L
- LookupFactory<T,
TID> - Interface in org.refcodes.factory -
The
LookupFactory
defines the functionality which must be provided in order to represent a factory for object creation of objects identified by an TIDString
and of a predefined type specified with a generic argument (in contrast to theBeanLookupFactory
, which creates instances of an expected type).
M
- MarshalFactory<T> - Interface in org.refcodes.factory
-
The
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 theBeanLookupFactory
, which creates instances of an expected type). - MarshalFactory.MarshalFactoryComplement<C> - Interface in org.refcodes.factory
-
The
MarshalFactory.MarshalFactoryComplement
provides inverse functionality to theMarshalFactory
. - MarshalFactory.MarshalFactoryComposite<T,
C> - Interface in org.refcodes.factory -
The
MarshalFactory.MarshalFactoryComposite
providesMarshalFactory
as well asMarshalFactory.MarshalFactoryComplement
functionality. - MarshalTypeFactory<T,
SRC> - Interface in org.refcodes.factory -
The
MarshalTypeFactory
defines the functionality which must be provided in order to create marshaling functionality from an internal representation of a given data structure to an external representation such as aString
or anInputStream
. - MarshalTypeFactory.MarshalTypeFactoryComplement<T,
C> - Interface in org.refcodes.factory -
The
MarshalTypeFactory.MarshalTypeFactoryComplement
provides inverse functionality to theMarshalTypeFactory
. - MarshalTypeFactory.MarshalTypeFactoryComposite<T,
SRC, C> - Interface in org.refcodes.factory -
The
MarshalTypeFactory.MarshalTypeFactoryComposite
providesMarshalTypeFactory
as well asMarshalTypeFactory.MarshalTypeFactoryComplement
functionality.
O
- org.refcodes.factory - module org.refcodes.factory
- org.refcodes.factory - package org.refcodes.factory
P
- Packager<UNPACK,
PACK, PACKEXC extends Exception> - Interface in org.refcodes.factory -
The
Packager
interface defines methods to pack instances and return the packed, wrapped or boxed instances. - Packager.Extractor<PACK,
UNPACK, UNPACKEXC extends Exception> - Interface in org.refcodes.factory -
The
Packager.Extractor
interface defines methods to unpack instances and return the unpacked, unwrapped or unboxed instances. - Packager.PackageProcessor<UNPACK,
PACK, UNPACKEXC extends Exception, PACKEXC extends Exception> - Interface in org.refcodes.factory -
The
Packager.PackageProcessor
type combines aPackager
with anPackager.Extractor
to package and extract in one module. - PrototypeFactory<T> - Class in org.refcodes.factory
-
The
PrototypeFactory
creates instances of a specific type from a prototype instance. - PrototypeFactory(T) - Constructor for class org.refcodes.factory.PrototypeFactory
-
Constructs the factory with the according type.
T
- toExtracted(PACK) - Method in interface org.refcodes.factory.Packager.Extractor
-
Unpacks an instance packed with the the
Packager.toPackaged(Object)
operation Depending on the implementation and the return type, as a result a new data instance is returned or the same instance is being modified (and returned). - toInstances(Class<?>, Map<String, String>) - Method in interface org.refcodes.factory.TypeLookupFactory
-
This method creates / retrieves all instances of the given type.
- toMarshaled(SRC) - Method in interface org.refcodes.factory.MarshalFactory
-
This method creates / retrieves an instance of the given type with the given identifier (name) constructed as defined in one to many configuration files.
- toMarshaled(SRC, Map<String, String>) - Method in interface org.refcodes.factory.MarshalFactory
-
This method creates / retrieves an instance of the given type with the given identifier (name) constructed as defined in one to many configuration files.
- toMarshaled(T) - Method in interface org.refcodes.factory.MarshalTypeFactory
-
This method creates / retrieves (converts to) from the provided data structure to its external representation.
- toMarshaled(T, Map<String, String>) - Method in interface org.refcodes.factory.MarshalTypeFactory
-
This method creates / retrieves (converts to) an instance from the provided external representation.
- toPackaged(UNPACK) - Method in interface org.refcodes.factory.Packager
-
Packs the provided instance, e.g. it is wrapped or boxed with additional information.
- toUnmarshaled(SRC) - Method in interface org.refcodes.factory.UnmarshalTypeFactory
-
This method creates / retrieves (converts to) an instance from the provided external representation.
- toUnmarshaled(SRC, Class<?>...) - Method in interface org.refcodes.factory.UnmarshalFactory
-
This method creates / retrieves an instance of one of the given types from the provided instance.
- toUnmarshaled(SRC, Class<T>) - Method in interface org.refcodes.factory.UnmarshalFactory
-
This method creates / retrieves an instance of the given type from the provided instance.
- toUnmarshaled(SRC, Class<T>, Map<String, String>) - Method in interface org.refcodes.factory.UnmarshalFactory
-
This method creates / retrieves all instances of the given type.
- toUnmarshaled(SRC, Map<String, String>) - Method in interface org.refcodes.factory.UnmarshalTypeFactory
-
This method creates / retrieves (converts to) an instance from the provided external representation.
- toUnmarshaled(SRC, Map<String, String>, Class<?>...) - Method in interface org.refcodes.factory.UnmarshalFactory
-
This method creates / retrieves an instance of one of the given types from the provided instance.
- TypeFactory<T> - Interface in org.refcodes.factory
-
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 theBeanLookupFactory
, which creates instances of an expected type). - TypeLookupFactory - Interface in org.refcodes.factory
-
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 theTypeFactory
and theLookupFactory
which create instances of a predefined type specified with a generic argument).
U
- UnmarshalFactory<SRC> - Interface in org.refcodes.factory
-
The
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 theTypeFactory
and theLookupFactory
) from an instance of a provided type. - UnmarshalFactory.UnmarshalFactoryComplement<C> - Interface in org.refcodes.factory
-
The
UnmarshalFactory.UnmarshalFactoryComplement
provides inverse functionality to theUnmarshalFactory
. - UnmarshalFactory.UnmarshalFactoryComposite<T,
C> - Interface in org.refcodes.factory -
The
UnmarshalFactory.UnmarshalFactoryComposite
providesUnmarshalFactory
as well asUnmarshalFactory.UnmarshalFactoryComplement
functionality. - UnmarshalTypeFactory<T,
SRC> - Interface in org.refcodes.factory -
The
UnmarshalTypeFactory
defines the functionality which must be provided in order to create unmarshaling functionality from an external representation such as aString
or anInputStream
to an internal representation of a given data structure. - UnmarshalTypeFactory.UnmarshalTypeFactoryComplement<T,
C> - Interface in org.refcodes.factory -
The
UnmarshalTypeFactory.UnmarshalTypeFactoryComplement
provides inverse functionality to theUnmarshalTypeFactory
. - UnmarshalTypeFactory.UnmarshalTypeFactoryComposite<T,
SRC, C> - Interface in org.refcodes.factory -
The
UnmarshalTypeFactory.UnmarshalTypeFactoryComposite
providesUnmarshalTypeFactory
as well asUnmarshalTypeFactory.UnmarshalTypeFactoryComplement
functionality.
All Classes and Interfaces|All Packages|Serialized Form