B C F L M O T U
B
- BeanFactory<ID> - Interface in org.refcodes.factory
-
A lookup factory supporting type and ID lookup.
- BeanLookupFactory<ID> - 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 IDString
and of the expected type (in contrast to theTypeFactory
and theLookupFactory
which create instances of a predefined type specified with a generic argument).
C
- CollectionFactory<C extends java.util.Collection<?>> - Interface in org.refcodes.factory
-
The
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 theTypeFactory
and theLookupFactory
which create instances of a predefined type specified with a generic argument). - ContextLookupFactory<T,ID,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 IDString
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). - createInstance() - Method in interface org.refcodes.factory.TypeFactory
-
This method creates / retrieves an instance of the given type with the given identifier (name) constructed as defined in one to many configuration files.
- createInstance(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.
- createInstance(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.
- createInstance(ID) - Method in interface org.refcodes.factory.BeanFactory
-
This method creates / retrieves an instance of the given type identified with the given identifier (name).
- createInstance(ID) - Method in interface org.refcodes.factory.BeanLookupFactory
-
This method creates / retrieves an instance of the given type identified with the given identifier (name).
- createInstance(ID) - Method in interface org.refcodes.factory.LookupFactory
-
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
- createInstance(ID, CTX) - Method in interface org.refcodes.factory.ContextLookupFactory
-
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
- createInstance(ID, 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).
- createInstance(ID, 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).
- createInstance(ID, 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).
- createInstance(Map<String, String>) - Method in interface org.refcodes.factory.TypeFactory
-
This method creates / retrieves an instance of the given type with the given identifier (name) constructed as defined in one to many configuration files.
- createInstances() - Method in interface org.refcodes.factory.CollectionFactory
-
This method creates / retrieves all instances of the given type.
- createInstances(Class<?>) - Method in interface org.refcodes.factory.BeanFactory
-
This method creates / retrieves an all instances of the given type.
- createInstances(Class<?>) - Method in interface org.refcodes.factory.TypeLookupFactory
-
This method creates / retrieves an all instances of the given type.
- createInstances(Map<String, String>) - Method in interface org.refcodes.factory.CollectionFactory
-
This method creates / retrieves all instances of the given type.
F
- FactoryRuntimeException - Exception in org.refcodes.factory
-
The Class FactoryRuntimeException.
- FactoryRuntimeException(String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
-
Instantiates a new factory runtime exception.
- FactoryRuntimeException(String, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
-
Instantiates a new factory runtime exception.
- FactoryRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
-
Instantiates a new factory runtime exception.
- FactoryRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
-
Instantiates a new factory runtime exception.
- FactoryRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
-
Instantiates a new factory runtime exception.
- FactoryRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
-
Instantiates a new factory runtime exception.
- 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. - 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.
L
- LookupFactory<T,ID> - 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 IDString
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 - package org.refcodes.factory
T
- 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.
- 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
- UnexpectedFactoryRuntimeException - 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).
- UnexpectedFactoryRuntimeException(String) - Constructor for exception org.refcodes.factory.UnexpectedFactoryRuntimeException
-
Instantiates a new unexpected factory runtime exception.
- UnexpectedFactoryRuntimeException(String, String) - Constructor for exception org.refcodes.factory.UnexpectedFactoryRuntimeException
-
Instantiates a new unexpected factory runtime exception.
- UnexpectedFactoryRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.UnexpectedFactoryRuntimeException
-
Instantiates a new unexpected factory runtime exception.
- UnexpectedFactoryRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.UnexpectedFactoryRuntimeException
-
Instantiates a new unexpected factory runtime exception.
- UnexpectedFactoryRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.UnexpectedFactoryRuntimeException
-
Instantiates a new unexpected factory runtime exception.
- UnexpectedFactoryRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.UnexpectedFactoryRuntimeException
-
Instantiates a new unexpected factory runtime exception.
- 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.