|
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 |
java.lang.Object dk.rode.thesis.abstractfactory.StandardAbstractionFactory<E>
E
- The type of values delivered by the created abstractions.@ParticipantUsage(value="ConcreteProduct", type=SequenceAbstraction.class) @Participant(value="ConcreteFactory") public class StandardAbstractionFactory<E>
A standard abstraction factory creates
sequence
abstractions.
This factory is thread-safe.
MemorizableAbstractionFactory
,
SynchronisedAbstractionFactory
,
PrototypicalAbstractionFactory
Constructor Summary | |
---|---|
StandardAbstractionFactory()
Constructor. |
Method Summary | |
---|---|
SequenceAbstraction<E> |
createAbstraction()
Creates a new sequence abstraction instance. |
String |
toString()
Returns the string representation of this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StandardAbstractionFactory()
Method Detail |
---|
public SequenceAbstraction<E> createAbstraction()
AbstractionFactory
abstraction
instance.
Depending on the actual factory implementation, the returned abstraction
may be initialised
. If so, no
implementation need be set.
createAbstraction
in interface AbstractionFactory<E>
public String toString()
toString
in class Object
|
Gunni Rode / rode.dk | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |