|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEndpointConfig
Endpoint configuration is a typed bag of properties. Different types of endpoints have different required properties, and different semantics associated with them. The type identifies the interpretation of the properties. This interface provides a more meaningful representation of the properties. A typed interface can be obtained for supported endpoint types, which provides direct access for relevant attributes of the endpoint, for example IJMSEndpointConfig provides accessors and mutators for SONIC JMS based endpoints.
Nested Class Summary | |
---|---|
static class |
IEndpointConfig.EndpointDestinationType
Type safe enum to represent destination types. |
static class |
IEndpointConfig.EndpointType
A type safe enum identifying supported Endpoint configuration types. |
Nested classes/interfaces inherited from interface com.sonicsw.esb.mgmtapi.config.IQos |
---|
IQos.QOSLevel |
Field Summary | |
---|---|
static IEndpointConfig.EndpointType |
JMS_ENDPOINT_TYPE
A constant representing a JMS based endpoint type. |
static IEndpointConfig.EndpointDestinationType |
JMS_QUEUE
A constant representing a JMS based endpoint, who's underlying JMS destination is a queue. |
static IEndpointConfig.EndpointDestinationType |
JMS_TOPIC
A constant representing a JMS based endpoint, who's underlying JMS destination is a topic. |
Fields inherited from interface com.sonicsw.esb.mgmtapi.config.IQos |
---|
AT_LEAST_ONCE, BEST_EFFORT, EXACTLY_ONCE |
Method Summary | |
---|---|
java.lang.Object |
getAdapter()
Obtain a type specific interface according to endpoints currently configured type. |
java.lang.Object |
getAdapter(IEndpointConfig.EndpointDestinationType epType)
Obtain a type specific interface according to the requested endpoint type |
IAddress |
getAsAddress()
generate a representation of this endpoint suitable for use in the setting destinations for various artifacts, e.g. |
java.lang.String |
getConnection()
Retrieve the connection name this endpoint is using. |
IConnectionConfig |
getConnectionConfig()
Retrieve the connection configuration used by this endpoint. |
IEndpointConfig.EndpointDestinationType |
getDestinationType()
|
IEndpointConfig.EndpointType |
getEndpointConfigType()
|
java.lang.String |
getEndpointType()
|
IQos.QOSLevel |
getQOSLevel()
Retrieve the QOS associated with this endpoint. |
java.lang.String |
getWSDLUrl()
|
boolean |
isInheritJMSDefaultConnection()
Does this endpoint inherit the JMS default connection from the ESB container it's deployed in? |
void |
setConnectionConfig(IConnectionConfig connection)
Set the connection over which this endpoint's communications will take place. |
void |
setDestinationType(IEndpointConfig.EndpointDestinationType type)
|
void |
setEndpointTypeConfig(IEndpointConfig.EndpointType type)
Set the endpoint type. |
void |
setQOSLevel(IQos.QOSLevel level)
Set the QOS associated with this endpoint. |
void |
setWSDLUrl(java.lang.String url)
|
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IBaseConfig |
---|
getName, getType |
Field Detail |
---|
static final IEndpointConfig.EndpointType JMS_ENDPOINT_TYPE
static final IEndpointConfig.EndpointDestinationType JMS_TOPIC
static final IEndpointConfig.EndpointDestinationType JMS_QUEUE
Method Detail |
---|
java.lang.Object getAdapter(IEndpointConfig.EndpointDestinationType epType)
java.lang.Object getAdapter()
java.lang.String getEndpointType()
IEndpointConfig.EndpointType getEndpointConfigType()
void setEndpointTypeConfig(IEndpointConfig.EndpointType type)
type
- the type to associate with the endpointvoid setConnectionConfig(IConnectionConfig connection)
connection
- a new connection to be used by the endpointIConnectionConfig getConnectionConfig()
java.lang.String getConnection()
boolean isInheritJMSDefaultConnection()
IQos.QOSLevel getQOSLevel()
void setQOSLevel(IQos.QOSLevel level)
level
- the new QOS level to associate with the endpointIAddress getAsAddress()
java.lang.String getWSDLUrl()
void setWSDLUrl(java.lang.String url)
IEndpointConfig.EndpointDestinationType getDestinationType()
void setDestinationType(IEndpointConfig.EndpointDestinationType type)
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |