public abstract class LogicalBindable extends LogicalInvocable
callbackOperations, operations, serviceContract| Modifier | Constructor and Description |
|---|---|
protected |
LogicalBindable(java.net.URI uri,
org.fabric3.api.model.type.contract.ServiceContract contract,
LogicalComponent<?> parent)
Initializes the URI and parent for the service or the reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBinding(LogicalBinding<?> binding)
Adds a binding to the service or the reference.
|
void |
addCallbackBinding(LogicalBinding<?> binding)
Adds a callback binding to the service or the reference.
|
java.util.List<LogicalBinding<?>> |
getBindings()
Returns all the bindings on the service or the reference.
|
java.util.List<LogicalBinding<?>> |
getCallbackBindings()
Returns all the callback bindings on the service or the reference.
|
boolean |
isBound()
Convenience method.
|
createOperations, getCallbackOperations, getOperations, getServiceContract, getUri, setServiceContractaddMetadata, getMetadata, getParentprotected LogicalBindable(java.net.URI uri,
org.fabric3.api.model.type.contract.ServiceContract contract,
LogicalComponent<?> parent)
uri - URI of the service or the reference.contract - the service contractparent - Parent of the service or the reference.public java.util.List<LogicalBinding<?>> getBindings()
public boolean isBound()
public java.util.List<LogicalBinding<?>> getCallbackBindings()
public void addBinding(LogicalBinding<?> binding)
binding - Binding to be added to the service or the reference.public void addCallbackBinding(LogicalBinding<?> binding)
binding - Binding to be added to the service or the reference.