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

A

AbstractTypedRecyclingFactory<T> - Class in org.refcodes.factory.impls
The AbstractTypedRecyclingFactory is an abstract implementation of the TypedRecyclingFactory taking care on recycling and reusing instances.
AbstractTypedRecyclingFactory() - Constructor for class org.refcodes.factory.impls.AbstractTypedRecyclingFactory
Default constructor creating a AbstractTypedRecyclingFactory.
AbstractTypedRecyclingFactory(int) - Constructor for class org.refcodes.factory.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.impls.AbstractTypedRecyclingFactory
 
createInstance() - Method in class org.refcodes.factory.impls.AbstractTypedRecyclingFactory
 
createInstance(Properties) - Method in class org.refcodes.factory.impls.AbstractTypedRecyclingFactory
 
createInstance(ID) - Method in interface org.refcodes.factory.LookupIdFactory
This method creates / retrieves an instance of the given type identified with the given identifier (name).
createInstance(ID, Properties) - Method in interface org.refcodes.factory.LookupIdFactory
This method creates / retrieves an instance of the given type identified with the given identifier (name).
createInstance(CTX) - Method in interface org.refcodes.factory.TypedContextFactory
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, Properties) - Method in interface org.refcodes.factory.TypedContextFactory
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() - Method in interface org.refcodes.factory.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.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(ID, CTX) - Method in interface org.refcodes.factory.TypedLookupIdContextFactory
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
createInstance(ID, CTX, Properties) - Method in interface org.refcodes.factory.TypedLookupIdContextFactory
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
createInstance(ID) - Method in interface org.refcodes.factory.TypedLookupIdFactory
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
createInstance(ID, Properties) - Method in interface org.refcodes.factory.TypedLookupIdFactory
This method creates / retrieves an instance of the configured type identified with the given identifier (name).
createInstances() - Method in class org.refcodes.factory.impls.TypedTypeFactoryImpl
 
createInstances(Properties) - Method in class org.refcodes.factory.impls.TypedTypeFactoryImpl
 
createInstances(Class<?>) - Method in interface org.refcodes.factory.LookupTypeFactory
This method creates / retrieves an all instances of the given type.
createInstances(Class<?>, Properties) - Method in interface org.refcodes.factory.LookupTypeFactory
This method creates / retrieves all instances of the given type.
createInstances() - Method in interface org.refcodes.factory.TypedTypeFactory
This method creates / retrieves all instances of the given type.
createInstances(Properties) - Method in interface org.refcodes.factory.TypedTypeFactory
This method creates / retrieves all instances of the given type.

F

FactoryRuntimeException - Exception in org.refcodes.factory
 
FactoryRuntimeException(String, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
 
FactoryRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
 
FactoryRuntimeException(String, Throwable) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
 
FactoryRuntimeException(String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
 
FactoryRuntimeException(Throwable, String) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
 
FactoryRuntimeException(Throwable) - Constructor for exception org.refcodes.factory.FactoryRuntimeException
 

G

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

L

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

R

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

T

TypedContextFactory<T,CTX> - Interface in org.refcodes.factory
The TypedContextFactory 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 the LookupIdFactory , which creates instances of an expected type).
TypedFactory<T> - Interface in org.refcodes.factory
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).
TypedLookupIdContextFactory<T,ID,CTX> - Interface in org.refcodes.factory
The TypedLookupIdContextFactory 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).
TypedLookupIdFactory<T,ID> - Interface in org.refcodes.factory
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
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
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
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.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.impls.TypedTypeFactoryImpl
Constructs a TypedTypeFactoryImpl wrapping LookupTypeFactory for creating instances of the required type.

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

Copyright © 2016. All rights reserved.