public interface TargetWireAttacher<T extends PhysicalWireTarget>
| Modifier and Type | Method and Description |
|---|---|
default void |
attach(PhysicalWireSource source,
T target,
Wire wire)
Attaches a wire to a target component or outgoing transport binding.
|
default java.util.function.Supplier<?> |
createSupplier(T target)
Create a Supplier that returns a direct target instance.
|
default void |
detach(PhysicalWireSource source,
T target)
Detaches a wire from a target component or outgoing transport binding.
|
default void attach(PhysicalWireSource source, T target, Wire wire) throws org.fabric3.api.host.Fabric3Exception
source - metadata for performing the attachtarget - metadata for performing the attachwire - the wireorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the attach operationdefault void detach(PhysicalWireSource source, T target) throws org.fabric3.api.host.Fabric3Exception
source - metadata for performing the attachtarget - metadata for performing the attachorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the detach operationdefault java.util.function.Supplier<?> createSupplier(T target) throws org.fabric3.api.host.Fabric3Exception
target - metadata for performing the attachorg.fabric3.api.host.Fabric3Exception - if an exception occurs during the attach operation