/** * Sets the effective service contract for this bindable. * * @param serviceContract the contract */ public void setServiceContract(ServiceContract serviceContract) { this.serviceContract = serviceContract; createOperations(serviceContract); }
/** * Constructor. * * @param uri URI of the SCA artifact. * @param contract the service contract * @param parent Parent of the SCA artifact. */ protected LogicalInvocable(URI uri, ServiceContract contract, LogicalComponent<?> parent) { super(parent); this.uri = uri; createOperations(contract); this.serviceContract = contract; }