public class LogicalConsumer extends LogicalInvocable
callbackOperations, operations, serviceContract| Constructor and Description |
|---|
LogicalConsumer(java.net.URI uri,
org.fabric3.api.model.type.component.Consumer definition,
LogicalComponent<?> parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSource(java.net.URI uri)
Adds a configured source channel URI.
|
void |
addSources(java.util.List<java.net.URI> sources)
Adds a configured source channel URIs.
|
boolean |
equals(java.lang.Object obj) |
org.fabric3.api.model.type.component.Consumer |
getDefinition()
Returns the producer type definition.
|
java.util.List<java.net.URI> |
getSources()
Returns the configured source channel URIs.
|
int |
hashCode() |
createOperations, getCallbackOperations, getOperations, getServiceContract, getUri, setServiceContractaddMetadata, getMetadata, getParentpublic LogicalConsumer(java.net.URI uri,
org.fabric3.api.model.type.component.Consumer definition,
LogicalComponent<?> parent)
uri - the consumer URIdefinition - the consumer type definitionparent - the parent componentpublic org.fabric3.api.model.type.component.Consumer getDefinition()
public java.util.List<java.net.URI> getSources()
public void addSources(java.util.List<java.net.URI> sources)
sources - the source channel URIspublic void addSource(java.net.URI uri)
uri - the source channel URIpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object