|
IBM WebSphere® DataPower® XC10 Appliance Release 2.5 Client API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.xs.ra.XSConnectionSpec
public final class XSConnectionSpec
The ConnectionSpec for retrieving XSConnections from an XSConnectionFactory
XSConnectionFactory
Constructor Summary | |
---|---|
XSConnectionSpec()
Creates a default XSCOnnectionSpec instance. |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
CredentialGenerator |
getCredentialGenerator()
Returns the CredentialGenerator object for this client
security for the connection. |
ObjectGrid |
getLocalObjectGrid()
Retrieve the local object grid instance used for the connection, if set. |
String |
getObjectGridName()
Returns the object grid name for the connection. |
int |
hashCode()
|
boolean |
isBeginNoWriteThrough()
Returns flag indicating whether the Session transaction should be started using using the Session.beginNoWriteThrough() method. |
boolean |
isMultiPartitionSupportEnabled()
Answers true if the Session will have the Session.getTxCommitProtocol()
set to Session.TxCommitProtocol.TWOPHASE . |
void |
setBeginNoWriteThrough(boolean beginNoWriteThrough)
Set the boolean flag indicating whether the Session transaction should be started using using the Session.beginNoWriteThrough() method. |
void |
setCredentialGenerator(CredentialGenerator credGen)
Sets the CredentialGenerator object for the client
security for the connection. |
void |
setLocalObjectGrid(ObjectGrid instance)
Sets a local ObjectGrid instance to be used for connections. |
void |
setMultiPartitionSupportEnabled(boolean mptEnabled)
Set to true to retrieve a connection with a Session that has the Session.getTxCommitProtocol()
set to Session.TxCommitProtocol.TWOPHASE . |
void |
setObjectGridName(String objectGridName)
Sets the object grid name to be used for the connection. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XSConnectionSpec()
Method Detail |
---|
public boolean isBeginNoWriteThrough()
Session.beginNoWriteThrough()
method.
Session.beginNoWriteThrough()
method.public void setBeginNoWriteThrough(boolean beginNoWriteThrough)
Session.beginNoWriteThrough()
method.
beginNoWriteThrough
- Session.begin()
,
Session.beginNoWriteThrough()
public String getObjectGridName()
public void setObjectGridName(String objectGridName)
objectGridName
- object grid name to be used for the connectionpublic ObjectGrid getLocalObjectGrid()
setLocalObjectGrid(ObjectGrid)
was specified.public void setLocalObjectGrid(ObjectGrid instance)
instance
- the local ObjectGrid instance.public CredentialGenerator getCredentialGenerator()
CredentialGenerator
object for this client
security for the connection.
setCredGen(CredentialGenerator)
method of
this object or null
if setCredGen
was not
previously called for this object.public void setCredentialGenerator(CredentialGenerator credGen)
CredentialGenerator
object for the client
security for the connection.
credGen
- a CredentialGenerator objectCredentialGenerator
public void setMultiPartitionSupportEnabled(boolean mptEnabled)
Session
that has the Session.getTxCommitProtocol()
set to Session.TxCommitProtocol.TWOPHASE
.
mptEnabled
- set to true if the Session should be configured to write to multiple partitions.public boolean isMultiPartitionSupportEnabled()
Session
will have the Session.getTxCommitProtocol()
set to Session.TxCommitProtocol.TWOPHASE
.
public Object clone()
clone
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
IBM WebSphere® DataPower® XC10 Appliance Release 2.5 Client API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |