|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - The type of values delivered by the created sequence
abstractions.@ParticipantUsage(value="AbstractProduct",
type=SequenceAbstraction.class)
@Participant(value="AbstractFactory")
public interface AbstractionFactory<E>
A sequence abstraction factory can create sequence
abstractions.
Depending on the actual factory implementation, the returned abstraction
may be initialised. If so, no
implementation need be set.
Implementation notes:
This interface essentially represents an application of a the
Factory Method pattern.
SequenceFactory,
GeneratorFactory| Method Summary | |
|---|---|
SequenceAbstraction<E> |
createAbstraction()
Creates a new sequence abstraction instance. |
| Method Detail |
|---|
SequenceAbstraction<E> createAbstraction()
abstraction instance.
Depending on the actual factory implementation, the returned abstraction
may be initialised. If so, no
implementation need be set.
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||