public class PhysicalConnectionSource extends PhysicalAttachPoint
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_SEQUENCE |
dataTypes| Constructor and Description |
|---|
PhysicalConnectionSource() |
PhysicalConnectionSource(org.fabric3.api.model.type.contract.DataType... types) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSequence()
Returns the sequence a consumer should be passed events, if supported by the channel type.
|
java.lang.Class<?> |
getServiceInterface()
Returns the Java interface for the service contract.
|
java.lang.String |
getSourceId()
Returns an id for the connection target.
|
java.lang.String |
getTopic()
Returns the topic name this connection receives from.
|
boolean |
isDirectConnection()
Returns true if the connection as a direct connection, i.e.
|
void |
setDirectConnection(boolean directConnection)
Sets the connection as a direct connection, i.e.
|
void |
setSequence(int sequence)
Sets the sequence a consumer should be passed events, if supported by the channel type.
|
void |
setServiceInterface(java.lang.Class<?> interfaze)
Sets the Java interface for the service contract.
|
void |
setTopic(java.lang.String topic)
Sets the topic name this connection receives from.
|
getClassLoader, getDataTypes, getUri, setClassLoader, setUripublic static final int NO_SEQUENCE
public PhysicalConnectionSource()
public PhysicalConnectionSource(org.fabric3.api.model.type.contract.DataType... types)
public java.lang.String getSourceId()
public int getSequence()
public void setSequence(int sequence)
sequence - the sequence a consumer should be passed events, if supported by the channel type.public void setDirectConnection(boolean directConnection)
directConnection - true if this is a direct connectionpublic boolean isDirectConnection()
public java.lang.Class<?> getServiceInterface()
public void setServiceInterface(java.lang.Class<?> interfaze)
interfaze - the Java interface for the service contractpublic void setTopic(java.lang.String topic)
topic - the topicpublic java.lang.String getTopic()