|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mulesoft.adapter.ra.CCIConnectionRequestInfo
public class CCIConnectionRequestInfo
CciConnectionRequestInfo is the analogon to the CciConnectionSpec. Whereas
CciConnectionSpec is used to specify connection selection criterias on CCI level, the
CciConnectionRequestInfo carries these information on spi level.
In addition CciConnectionRequestInfo MUST implement equals() and hashCode() to allow the
J2EE server a connection pre-selection based on CciConnectionRequestInfo information.
| Constructor Summary | |
|---|---|
CCIConnectionRequestInfo(String userName,
String password,
String channelId)
A valid XI AF CciConnectionRequestInfo can only be created together
with all its properties. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
A JCA 1.0 compliant CciConnectionRequestInfo must implement
the equals() to allow the J2EE ConnectionManager a
pre-selection of connections. |
String |
getChannelId()
|
String |
getPassword()
|
String |
getUserName()
In contrast to ConnectionSpec no JCA requirements regarding
property setter and getter methods are formulated for CciConnectionRequestInfo
However, getters are used to retrieve the information in the ManagedConnectionFactory
(ra implementation specific) |
int |
hashCode()
A JCA 1.0 compliant CciConnectionRequestInfo must implement
the hashCode() to allow the J2EE ConnectionManager a
management of created connections. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CCIConnectionRequestInfo(String userName,
String password,
String channelId)
CciConnectionRequestInfo can only be created together
with all its properties. The constructor is called by the CciConnection only.
(ra implementation specific)
userName - Name of the user if external connection requires a logonpassword - Password of the user if external connection requires a logonchannelId - ID of the channel selected for those messages that are put into the Interaction.execute()
call of Interactions, for which this connection is needed.| Method Detail |
|---|
public String getUserName()
ConnectionSpec no JCA requirements regarding
property setter and getter methods are formulated for CciConnectionRequestInfo
However, getters are used to retrieve the information in the ManagedConnectionFactory
(ra implementation specific)
public String getPassword()
public String getChannelId()
public boolean equals(Object obj)
CciConnectionRequestInfo must implement
the equals() to allow the J2EE ConnectionManager a
pre-selection of connections. The equality MUST be defined on the complete
property set (see pg. 47)
(CCI JCA 1.0)
equals in interface javax.resource.spi.ConnectionRequestInfoequals in class Objectobj - Object to compare
CciConnectionRequestInfo, false otherwisepublic int hashCode()
CciConnectionRequestInfo must implement
the hashCode() to allow the J2EE ConnectionManager a
management of created connections.
(CCI JCA 1.0)
hashCode in interface javax.resource.spi.ConnectionRequestInfohashCode in class ObjectCciConnectionRequestInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||