B C F L 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.
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).
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.
- 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.