public interface ComponentBuilder<D extends PhysicalComponent,C extends Component>
| Modifier and Type | Method and Description |
|---|---|
C |
build(D definition)
Builds a component from its physical component definition.
|
default void |
dispose(D definition,
C component)
Disposes a component.
|
C build(D definition) throws org.fabric3.api.host.Fabric3Exception
definition - physical component definition of the component to be builtorg.fabric3.api.host.Fabric3Exception - if unable to build the componentdefault void dispose(D definition, C component) throws org.fabric3.api.host.Fabric3Exception
definition - physical component definition of the component to be built.component - the componentorg.fabric3.api.host.Fabric3Exception - if unable to build the component