public class LogicalChannel extends LogicalBindable
callbackOperations, operations, serviceContract| Constructor and Description |
|---|
LogicalChannel(java.net.URI uri,
org.fabric3.api.model.type.component.Channel definition,
LogicalCompositeComponent parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBinding(LogicalBinding<?> binding)
Adds a binding to the service or the reference.
|
LogicalBinding |
getBinding()
Convenience getter as channels can be configured with only one binding.
|
org.fabric3.api.model.type.component.Channel |
getDefinition()
Returns the ChannelDefinition for this channel.
|
javax.xml.namespace.QName |
getDeployable()
Returns the deployable composite name this logical channel was instantiated from.
|
LogicalState |
getState()
Returns the instance state.
|
void |
setDeployable(javax.xml.namespace.QName deployable)
Sets the name of the deployable composite this channel was instantiated from.
|
void |
setState(LogicalState state)
Sets the instance state.
|
addCallbackBinding, getBindings, getCallbackBindings, isBoundcreateOperations, getCallbackOperations, getOperations, getServiceContract, getUri, setServiceContractaddMetadata, getMetadata, getParentpublic LogicalChannel(java.net.URI uri,
org.fabric3.api.model.type.component.Channel definition,
LogicalCompositeComponent parent)
public org.fabric3.api.model.type.component.Channel getDefinition()
public javax.xml.namespace.QName getDeployable()
public void setDeployable(javax.xml.namespace.QName deployable)
deployable - the deployable namepublic LogicalState getState()
public void setState(LogicalState state)
state - the instance statepublic LogicalBinding getBinding()
public void addBinding(LogicalBinding<?> binding)
LogicalBindableaddBinding in class LogicalBindablebinding - Binding to be added to the service or the reference.