|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This MBean defines a non-transactional JDBC DataSource.
Field Summary | |
static long |
CACHING_STUB_SVUID
|
Fields inherited from class weblogic.management.configuration.DeploymentMBean |
CACHING_STUB_SVUID,
DEFAULT_ORDER,
MAX_ORDER,
MIN_ORDER |
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID |
Method Summary | |
int |
getConnectionWaitPeriod()
The time in seconds which the system will wait for a free connection pool entry to become available if a request is received when there are no free entries in the pool. |
java.lang.String |
getJNDIName()
The JNDI path to where this DataSource is bound. |
java.lang.String |
getPoolName()
The name of the connection pool with which the DataSource is associated. |
int |
getRowPrefetchSize()
The number of result set rows to prefetch for a client. |
int |
getStreamChunkSize()
Data chunk size for steaming datatypes. |
boolean |
isRowPrefetchEnabled()
Controls row prefetching between a client and WebLogic Server for each ResultSet. |
boolean |
isWaitForConnectionEnabled()
Returns true if the system will wait for a free connection pool entry to become available when a request is made with all pool entries in use. |
void |
setConnectionWaitPeriod(int waitseconds)
|
void |
setJNDIName(java.lang.String name)
Sets the JNDI path to where this DataSource is bound. |
void |
setPoolName(java.lang.String pool)
Sets the name of the JDBC connection pool that is associated with this DataSource. |
void |
setRowPrefetchEnabled(boolean enable)
Set to true to enable row prefetching between a client and WebLogic Server for each ResultSet. |
void |
setRowPrefetchSize(int prefetch)
|
void |
setStreamChunkSize(int chunk_size)
|
void |
setWaitForConnectionEnabled(boolean enable)
Allow the sytem to wait for a free connection pool entry to become available if a request is received when there are no free entries in the pool. |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
addTarget,
getDeploymentOrder,
getTargets,
removeTarget,
setDeploymentOrder,
setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
addLinkMbeanAttribute,
getNotes,
isPersistenceEnabled,
setNotes |
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 |
Field Detail |
public static final long CACHING_STUB_SVUID
Method Detail |
public java.lang.String getJNDIName()
Applications that look up the JNDI path will get a
javax.sql.DataSource
instance that corresponds to
this DataSource.
public void setJNDIName(java.lang.String name) throws javax.management.InvalidAttributeValueException
javax.sql.DataSource
instance that corresponds to
this DataSource. 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()
Calls from applications to getConnection()
on this
DataSource will return a connection from the associated
connection pool.
public void setPoolName(java.lang.String pool) throws javax.management.InvalidAttributeValueException
getConnection()
on this
DataSource will return a connection from the associated
connection pool.
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 WebLogic
Server to the client as needed.
public void setStreamChunkSize(int chunk_size)
public boolean isWaitForConnectionEnabled()
public void setWaitForConnectionEnabled(boolean enable)
public int getConnectionWaitPeriod()
public void setConnectionWaitPeriod(int waitseconds)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |