T
- Type that gets created by the factory.X
- Exception that can get thrown during execution of the factory
method. If no exception is thrown, use
NeverThrownRuntimeException
.public class ForwardingFactory<T,X extends java.lang.Exception> extends java.lang.Object implements IParameterizedFactory<T,IFactory<T,X>,X>
Modifier and Type | Field and Description |
---|---|
static ForwardingFactory |
INSTANCE
Singleton instance.
|
Constructor and Description |
---|
ForwardingFactory() |
Modifier and Type | Method and Description |
---|---|
T |
create(IFactory<T,X> factory)
Factory method
|
public static final ForwardingFactory INSTANCE
public ForwardingFactory()