public interface ComponentGenerator<C extends LogicalComponent<? extends org.fabric3.api.model.type.component.Implementation<?>>>
| Modifier and Type | Method and Description |
|---|---|
PhysicalComponent |
generate(C component)
Generates an
PhysicalComponent based on a LogicalComponent. |
PhysicalWireSource |
generateCallbackSource(LogicalService service)
Generates a
PhysicalWireSource used to attach a physical wire for a callback service to a source component. |
PhysicalConnectionSource |
generateConnectionSource(LogicalProducer producer)
Generates a
PhysicalConnectionSource used to attach an event connection to its source producer. |
PhysicalConnectionTarget |
generateConnectionTarget(LogicalConsumer consumer)
Generates a
PhysicalConnectionTarget used to attach an event connection to its target consumer. |
PhysicalWireSource |
generateResourceSource(LogicalResourceReference<?> resourceReference)
Generates a
PhysicalWireSource used to attach a physical resource to a source component. |
PhysicalWireSource |
generateSource(LogicalReference reference)
Generates a
PhysicalWireSource used to attach a physical wire to a source component. |
PhysicalWireTarget |
generateTarget(LogicalService service)
Generates a
PhysicalWireTarget used to attach a physical wire to a target component. |
PhysicalComponent generate(C component) throws org.fabric3.api.host.Fabric3Exception
PhysicalComponent based on a LogicalComponent.component - the logical component to evaluateorg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation processPhysicalWireSource generateSource(LogicalReference reference) throws org.fabric3.api.host.Fabric3Exception
PhysicalWireSource used to attach a physical wire to a source component. Metadata contained in the source is specific to the
component implementation type and used when the wire is attached to its source.reference - the source logical referenceorg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation processPhysicalWireTarget generateTarget(LogicalService service) throws org.fabric3.api.host.Fabric3Exception
PhysicalWireTarget used to attach a physical wire to a target component. Metadata contained in the source is specific to the
component implementation type and used when the wire is attached to its target.service - the target logical serviceorg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation processPhysicalWireSource generateCallbackSource(LogicalService service) throws org.fabric3.api.host.Fabric3Exception
PhysicalWireSource used to attach a physical wire for a callback service to a source component. Metadata contained in the source is
specific to the component implementation type and used when the wire is attached to its source.service - the forward service the callback is being generated fororg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation processPhysicalConnectionSource generateConnectionSource(LogicalProducer producer) throws org.fabric3.api.host.Fabric3Exception
PhysicalConnectionSource used to attach an event connection to its source producer.producer - the producerorg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation processPhysicalConnectionTarget generateConnectionTarget(LogicalConsumer consumer) throws org.fabric3.api.host.Fabric3Exception
PhysicalConnectionTarget used to attach an event connection to its target consumer.consumer - the consumerorg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation processPhysicalWireSource generateResourceSource(LogicalResourceReference<?> resourceReference) throws org.fabric3.api.host.Fabric3Exception
PhysicalWireSource used to attach a physical resource to a source component. Metadata contained in the source is specific to the
component implementation type and used when the wire is attached to its source.resourceReference - the source logical resourceorg.fabric3.api.host.Fabric3Exception - if an error occurs during the generation process