T
- The type of the instances to be created by this factory.public class TypedTypeFactoryImpl<T> extends Object implements TypedTypeFactory<T>
TypedTypeFactory
is a wrapper for the LookupTypeFactory
using the LookupTypeFactory
for creating the dedicated type.Constructor and Description |
---|
TypedTypeFactoryImpl(Class<T> aType,
LookupTypeFactory aLookupTypeFactory)
Constructs a
TypedTypeFactoryImpl wrapping
LookupTypeFactory for creating instances of the required type. |
Modifier and Type | Method and Description |
---|---|
Set<T> |
createInstances()
This method creates / retrieves all instances of the given type.
|
Set<T> |
createInstances(Properties aProperties)
This method creates / retrieves all instances of the given type.
|
public TypedTypeFactoryImpl(Class<T> aType, LookupTypeFactory aLookupTypeFactory)
TypedTypeFactoryImpl
wrapping
LookupTypeFactory
for creating instances of the required type.aType
- The type of the instances to be created.aLookupTypeFactory
- The LookupTypeFactory
to be used for
creating the instances of the required type.public Set<T> createInstances()
createInstances
in interface TypedTypeFactory<T>
public Set<T> createInstances(Properties aProperties)
createInstances
in interface TypedTypeFactory<T>
aProperties
- The dynamic properties which are used to configure the
desired bean.Copyright © 2015. All rights reserved.