@Dependent public class ShapeDefFunctionalFactory<W,D extends ShapeDef,S extends Shape> extends Object implements ShapeDefFactory<W,D,S>
| Constructor and Description |
|---|
ShapeDefFunctionalFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
S |
newShape(W instance,
D shapeDef) |
protected S |
newShape(W instance,
D shapeDef,
Class<? extends D> shapeDefType) |
ShapeDefFunctionalFactory<W,D,S> |
set(Class<? extends D> shapeDefType,
BiFunction<W,D,S> shapeBuilderFunction)
Sets the factory function for the specified Shape Definition type.
|
public ShapeDefFunctionalFactory<W,D,S> set(Class<? extends D> shapeDefType, BiFunction<W,D,S> shapeBuilderFunction)
@PreDestroy public void destroy()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.