private boolean isLocal(LogicalWire wire) { // at this point an SCA binding can only exist for local wires since SCA bindings for remote wires will have been replaced // with concrete bindings return (wire.getSourceBinding() == null || wire.getSourceBinding().getDefinition() instanceof SCABinding) && (wire.getTargetBinding() == null || wire.getTargetBinding().getDefinition() instanceof SCABinding); }
public PolicyResult resolveRemotePolicies(LogicalWire wire) throws PolicyResolutionException { LogicalReference reference = wire.getSource(); LogicalService service = wire.getTarget(); LogicalComponent source = reference.getParent(); LogicalComponent target = service.getLeafComponent(); LogicalBinding<?> serviceBinding = wire.getTargetBinding(); List<LogicalOperation> sourceOperations = reference.getOperations(); return resolvePolicies(sourceOperations, serviceBinding, serviceBinding, source, target); }
attach = false; PhysicalWire physicalWire; if (wire.getSourceBinding() != null && wire.getTargetBinding() == null) { || targetComponent.getState() == LogicalState.NEW) { PhysicalWire physicalWire; if (wire.getSourceBinding() != null && wire.getTargetBinding() == null) { if (wire.getSourceBinding() != null && wire.getTargetBinding() == null) {
attach = false; PhysicalWire physicalWire; if (wire.getSourceBinding() != null && wire.getTargetBinding() == null) { || targetComponent.getState() == LogicalState.NEW) { PhysicalWire physicalWire; if (wire.getSourceBinding() != null && wire.getTargetBinding() == null) { if (wire.getSourceBinding() != null && wire.getTargetBinding() == null) {
sourceDefinition.setOrder(order); LogicalBinding<BD> serviceBinding = wire.getTargetBinding(); BindingGenerator<BD> targetGenerator = getGenerator(serviceBinding);