Sonic ESB API

com.sonicsw.esb.mgmtapi.config
Interface IConnectionConfig

All Superinterfaces:
IBaseConfig

public interface IConnectionConfig
extends IBaseConfig

A connection provides services for containers and endpoints to the underlying messaging fabric. At it's core, it's a bag of properties, which are interpreted based on the connection type. Each connection type has a type specific interface which provides user-friendly accessors and mutators for the relevant properties.


Nested Class Summary
static class IConnectionConfig.ConnectionType
          A type safe enum for all supported Connection types.
 
Field Summary
static IConnectionConfig.ConnectionType JMS_CONNECTION_TYPE
          Constant which represents a SONIC JMS connection type.
 
Method Summary
 java.lang.Object getAdapter()
          Use the configured connection type to retrieve a typed interface for manipulating the connection configuration. if a type is not configured, null is returned.
 java.lang.Object getAdapter(IConnectionConfig.ConnectionType epType)
          Return a type interface to match the requested type.
 IConnectionConfig.ConnectionType getConnectionType()
          Identifies the connection type of this connection configuration.
 void setConnectionType(IConnectionConfig.ConnectionType type)
          Set the connection type.
 
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IBaseConfig
getName, getType
 

Field Detail

JMS_CONNECTION_TYPE

static final IConnectionConfig.ConnectionType JMS_CONNECTION_TYPE
Constant which represents a SONIC JMS connection type.

Method Detail

getConnectionType

IConnectionConfig.ConnectionType getConnectionType()
Identifies the connection type of this connection configuration.

Returns:
the connection's type

setConnectionType

void setConnectionType(IConnectionConfig.ConnectionType type)
Set the connection type.

Parameters:
type - - the new type for the connection

getAdapter

java.lang.Object getAdapter(IConnectionConfig.ConnectionType epType)
Return a type interface to match the requested type.

Returns:
a type specific accessor interface for the underlying connection type, for example an instance of IJMSConnectionConfig

getAdapter

java.lang.Object getAdapter()
Use the configured connection type to retrieve a typed interface for manipulating the connection configuration. if a type is not configured, null is returned.

Returns:
a type specific accessor interface for the underlying connection type, for example an instance of IJMSConnectionConfig

Sonic ESB API

Copyright © 2001-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.