Input
- the factory input class typeOutput
- the factory output class typepublic interface SingletonFactory<Input,Output>
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.
Modifier and Type | Method and Description |
---|---|
Output |
getInstance(Input input)
Obtain an instance of the output class based on an input class instance.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.