public interface SourceWireAttacher<PSD extends PhysicalWireSource>
| Modifier and Type | Method and Description |
|---|---|
void |
attach(PSD source,
PhysicalWireTarget target,
Wire wire)
Attaches a wire to a source component or an incoming binding.
|
default void |
attachSupplier(PSD source,
java.util.function.Supplier<?> supplier,
PhysicalWireTarget target)
Attaches a Supplier that returns a direct target instance to a source component.
|
void |
detach(PSD source,
PhysicalWireTarget target)
Detaches a wire from a source component or transport binding.
|
default void |
detachSupplier(PSD source,
PhysicalWireTarget target)
detaches a Supplier from a source component.
|
void attach(PSD source, PhysicalWireTarget target, Wire wire) throws org.fabric3.api.host.Fabric3Exception
source - metadata for the source side of the wiretarget - metadata for the target side of the wirewire - the wireorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the attach operationdefault void attachSupplier(PSD source, java.util.function.Supplier<?> supplier, PhysicalWireTarget target) throws org.fabric3.api.host.Fabric3Exception
source - the definition of the component reference to attach tosupplier - a Supplier that can produce values compatible with the referencetarget - the target definition for the wireorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the attach operationvoid detach(PSD source, PhysicalWireTarget target) throws org.fabric3.api.host.Fabric3Exception
source - metadata for the source side of the wiretarget - metadata for the target side of the wireorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the attach operationdefault void detachSupplier(PSD source, PhysicalWireTarget target) throws org.fabric3.api.host.Fabric3Exception
source - the definition of the component reference to detachtarget - the target definition for the wireorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the deattach operation