Skip navigation links
A C G L N O R T U 

A

AbstractFactoryRuntimeException - Exception in org.refcodes.factory.traps
 
AbstractFactoryRuntimeException(String, String) - Constructor for exception org.refcodes.factory.traps.AbstractFactoryRuntimeException
AbstractFactoryRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.traps.AbstractFactoryRuntimeException
AbstractFactoryRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.traps.AbstractFactoryRuntimeException
AbstractFactoryRuntimeException(String) - Constructor for exception org.refcodes.factory.traps.AbstractFactoryRuntimeException
AbstractFactoryRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.traps.AbstractFactoryRuntimeException
AbstractFactoryRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.traps.AbstractFactoryRuntimeException
AbstractTypedRecyclingFactory<T> - Class in org.refcodes.factory.factories.impls
The AbstractTypedRecyclingFactory is an abstract implementation of the TypedRecyclingFactory taking care on recycling and reusing instances.
AbstractTypedRecyclingFactory() - Constructor for class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
Default constructor creating a AbstractTypedRecyclingFactory.
AbstractTypedRecyclingFactory(int) - Constructor for class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
Constructor creating a AbstractTypedRecyclingFactory which allows only a given maximum of recycled instances to be contained in this factory.

C

clear() - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
 
createInstance() - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
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(Properties) - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
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(String) - Method in interface org.refcodes.factory.factories.LookupIdFactory
This method creates / retrieves an instance of the given type identified with the given identifier (name).
createInstance(String, Properties) - Method in interface org.refcodes.factory.factories.LookupIdFactory
This method creates / retrieves an instance of the given type identified with the given identifier (name).
createInstance() - Method in interface org.refcodes.factory.factories.TypedFactory
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(Properties) - Method in interface org.refcodes.factory.factories.TypedFactory
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(String) - Method in interface org.refcodes.factory.factories.TypedLookupIdFactory
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
createInstance(String, Properties) - Method in interface org.refcodes.factory.factories.TypedLookupIdFactory
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
createInstances() - Method in class org.refcodes.factory.factories.impls.TypedTypeFactoryImpl
This method creates / retrieves all instances of the given type.
createInstances(Properties) - Method in class org.refcodes.factory.factories.impls.TypedTypeFactoryImpl
This method creates / retrieves all instances of the given type.
createInstances(Class<?>) - Method in interface org.refcodes.factory.factories.LookupTypeFactory
This method creates / retrieves an all instances of the given type.
createInstances(Class<?>, Properties) - Method in interface org.refcodes.factory.factories.LookupTypeFactory
This method creates / retrieves all instances of the given type.
createInstances() - Method in interface org.refcodes.factory.factories.TypedTypeFactory
This method creates / retrieves all instances of the given type.
createInstances(Properties) - Method in interface org.refcodes.factory.factories.TypedTypeFactory
This method creates / retrieves all instances of the given type.

G

getInstanceCount() - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
Returns the number of recycled instances currently being managed by the AbstractTypedRecyclingFactory.

L

LookupFactory - Interface in org.refcodes.factory.factories
A lookup factory supporting type and ID lookup.
LookupIdFactory - Interface in org.refcodes.factory.factories
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 - Interface in org.refcodes.factory.factories
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).

N

newInstance() - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
To be implemented by you, called by AbstractTypedRecyclingFactory.createInstance() in case there are no more recycled objects available (provided via AbstractTypedRecyclingFactory.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.
newInstance(Properties) - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
To be implemented by you, called by AbstractTypedRecyclingFactory.createInstance(Properties) in case there are no more recycled objects available (provided via AbstractTypedRecyclingFactory.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.

O

org.refcodes.factory.factories - package org.refcodes.factory.factories
 
org.refcodes.factory.factories.impls - package org.refcodes.factory.factories.impls
 
org.refcodes.factory.mixins - package org.refcodes.factory.mixins
 
org.refcodes.factory.traps - package org.refcodes.factory.traps
 

R

recycleInstance(T) - Method in class org.refcodes.factory.factories.impls.AbstractTypedRecyclingFactory
Makes the provided instance available for reuse by the factory.
recycleInstance(T) - Method in interface org.refcodes.factory.mixins.TypedRecycling
Makes the provided instance available for reuse by the factory.

T

TypedFactory<T> - Interface in org.refcodes.factory.factories
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).
TypedLookupIdFactory<T> - Interface in org.refcodes.factory.factories
The TypedLookupIdFactory 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 LookupIdFactory, which creates instances of an expected type).
TypedRecycling<T> - Interface in org.refcodes.factory.mixins
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<T> - Interface in org.refcodes.factory.factories
The TypedRecyclingFactory is a TypedFactory providing recycling support for instances as being created by the TypedRecyclingFactoryTypedFactory.createInstance() (or TypedFactory.createInstance(Properties).
TypedTypeFactory<T> - Interface in org.refcodes.factory.factories
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).
TypedTypeFactoryImpl<T> - Class in org.refcodes.factory.factories.impls
The TypedTypeFactory is a wrapper for the LookupTypeFactory using the LookupTypeFactory for creating the dedicated type.
TypedTypeFactoryImpl(Class<T>, LookupTypeFactory) - Constructor for class org.refcodes.factory.factories.impls.TypedTypeFactoryImpl
Constructs a TypedTypeFactoryImpl wrapping LookupTypeFactory for creating instances of the required type.

U

UnexpectedFactoryRuntimeException - Exception in org.refcodes.factory.traps
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, String) - Constructor for exception org.refcodes.factory.traps.UnexpectedFactoryRuntimeException
UnexpectedFactoryRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.traps.UnexpectedFactoryRuntimeException
UnexpectedFactoryRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.traps.UnexpectedFactoryRuntimeException
UnexpectedFactoryRuntimeException(String) - Constructor for exception org.refcodes.factory.traps.UnexpectedFactoryRuntimeException
UnexpectedFactoryRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.traps.UnexpectedFactoryRuntimeException
UnexpectedFactoryRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.traps.UnexpectedFactoryRuntimeException
A C G L N O R T U 
Skip navigation links

Copyright © 2015. All rights reserved.