|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Fields inherited from class weblogic.management.configuration.DeploymentMBean |
DEFAULT_ORDER,
MAX_ORDER,
MIN_ORDER |
Method Summary | |
boolean |
getEnableTwoPhaseCommit()
Returns whether this TxDataSource is enabled to participate in distributed transaction. |
java.lang.String |
getJNDIName()
Returns the JNDI path to where this TxDataSource is bound |
java.lang.String |
getPoolName()
Returns the name of the JDBC connection pool that is associated with this TxDataSource |
int |
getRowPrefetchSize()
The number of rows that will be prefetched between client and WebLogic Server for each ResultSet. |
int |
getStreamChunkSize()
Data chunk size for steaming datatypes. |
boolean |
isRowPrefetchEnabled()
Returns true if row prefetching is enabled between client and WebLogic Server for each ResultSet. |
void |
setEnableTwoPhaseCommit(boolean enable)
This allows non-XA JDBC drivers to pretend to participate in a JTA transaction; the drivers are wrapped with a pseudo XAResource, which returns true during prepare(). |
void |
setJNDIName(java.lang.String name)
Sets the JNDI path to where this TxDataSource is bound. |
void |
setPoolName(java.lang.String pool)
Sets the name of the JDBC connection pool that is associated with this TxDataSource. |
void |
setRowPrefetchEnabled(boolean enable)
Set to true to enable row prefetching between client and WebLogic Server for each ResultSet. |
void |
setRowPrefetchSize(int prefetch)
|
void |
setStreamChunkSize(int chunk_size)
|
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
addTarget,
getDeploymentOrder,
getTargets,
removeTarget,
setDeploymentOrder,
setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
getNotes,
setNotes,
setPersistenceEnabled |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preDeregister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public java.lang.String getJNDIName()
public void setJNDIName(java.lang.String name) throws javax.management.InvalidAttributeValueException
javax.sql.DataSource
instance that corresponds to
this TxDataSource. Note that the old style usage of
DriverManager.getConnection() or Driver.connect() has been
deprecated in favor of looking up a datasource to obtain a
connection.
public java.lang.String getPoolName()
public void setPoolName(java.lang.String pool) throws javax.management.InvalidAttributeValueException
getConnection()
on this
TxDataSource will return a connection from the associated
connection pool.
JDBCConnectionPoolMBean
public boolean getEnableTwoPhaseCommit()
setEnableTwoPhaseCommit
public void setEnableTwoPhaseCommit(boolean enable) throws javax.management.InvalidAttributeValueException
If this TxDataSource is associated with an XA connection pool, or if there is only one resource participating in the distributed transaction, then this setting is ignored.
@default false
public boolean isRowPrefetchEnabled()
public void setRowPrefetchEnabled(boolean enable)
public int getRowPrefetchSize()
public void setRowPrefetchSize(int prefetch)
public int getStreamChunkSize()
getBinaryStream()
)
will be pulled in StreamChunkSize sized chunks from the WebLogic
Server to the client as needed.
public void setStreamChunkSize(int chunk_size)
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |