|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ComponentSpecification public interface CollectionFactoryManager
This is the interface for a manager of CollectionFactory instances.
| Method Summary | ||
|---|---|---|
|
getCollectionFactory(Class<COLLECTION> collectionType)
This method gets the CollectionFactory for the given
collectionType. |
|
|
getMapFactory(Class<MAP> mapType)
This method gets the MapFactory for the given mapType. |
|
| Method Detail |
|---|
<MAP extends Map> MapFactory getMapFactory(Class<MAP> mapType)
MapFactory for the given mapType.
MAP - is the generic type of the Map.mapType - is the type of the Map. This should be the interface
such as Map.class or SortedMap.class.
MapFactory for the given mapType. The
mapType has to be
assignable from
MapFactory.getMapInterface() of the returned instance.
Typically it will be equal.<COLLECTION extends Collection> CollectionFactory<COLLECTION> getCollectionFactory(Class<COLLECTION> collectionType)
CollectionFactory for the given
collectionType.
COLLECTION - is the generic type of the Collection.collectionType - is the type of the Collection. This should be
the Collection interface such as
List.class.
CollectionFactory for the given
collectionType. The collectionType has to
be assignable from
CollectionFactory.getCollectionInterface() of the returned
instance. Typically it will be equal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||