public class LogicalInvocable extends LogicalScaArtifact<LogicalComponent<?>>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<LogicalOperation> |
callbackOperations |
protected java.util.List<LogicalOperation> |
operations |
protected org.fabric3.api.model.type.contract.ServiceContract |
serviceContract |
| Modifier | Constructor and Description |
|---|---|
protected |
LogicalInvocable(java.net.URI uri,
org.fabric3.api.model.type.contract.ServiceContract contract,
LogicalComponent<?> parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createOperations(org.fabric3.api.model.type.contract.ServiceContract contract)
Instantiates logical operations from a service contract
|
java.util.List<LogicalOperation> |
getCallbackOperations() |
java.util.List<LogicalOperation> |
getOperations() |
org.fabric3.api.model.type.contract.ServiceContract |
getServiceContract()
The effective service contract for this bindable.
|
java.net.URI |
getUri()
Returns the artifact uri.
|
void |
setServiceContract(org.fabric3.api.model.type.contract.ServiceContract serviceContract)
Sets the effective service contract for this bindable.
|
addMetadata, getMetadata, getParentprotected org.fabric3.api.model.type.contract.ServiceContract serviceContract
protected java.util.List<LogicalOperation> operations
protected java.util.List<LogicalOperation> callbackOperations
protected LogicalInvocable(java.net.URI uri,
org.fabric3.api.model.type.contract.ServiceContract contract,
LogicalComponent<?> parent)
uri - URI of the SCA artifact.contract - the service contractparent - Parent of the SCA artifact.public java.net.URI getUri()
public java.util.List<LogicalOperation> getOperations()
public java.util.List<LogicalOperation> getCallbackOperations()
public org.fabric3.api.model.type.contract.ServiceContract getServiceContract()
public void setServiceContract(org.fabric3.api.model.type.contract.ServiceContract serviceContract)
serviceContract - the contractprotected final void createOperations(org.fabric3.api.model.type.contract.ServiceContract contract)
contract - the contract