|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Input
- the factory input class typeOutput
- the factory output class typepublic interface SingletonFactory<Input,Output>
An interface for factory classes which implement a singleton pattern for producing an output class based on an input class.
Classes which implement this interface should ensure that exactly one instance of a given output class is returned from the factory for a given instance of an input class.
Method Summary | |
---|---|
Output |
getInstance(Input input)
Obtain an instance of the output class based on an input class instance. |
Method Detail |
---|
Output getInstance(Input input)
input
- the input class instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |