|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.NotificationBroadcasterSupport org.objectweb.jonas.management.ReconfigDispatcher org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject org.objectweb.jonas.resource.JCAConnectionFactory
MBean class for JCA Connection Factory Management
Field Summary |
Fields inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject |
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME |
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
JCAConnectionFactory(java.lang.String objectName,
java.lang.String jndiname,
java.lang.String fileName,
java.util.Properties prop,
java.lang.String description,
ConnectionManagerImpl cm)
Constructor |
Method Summary | |
java.lang.Integer |
getBusyMax()
|
java.lang.Integer |
getBusyMin()
|
java.lang.Integer |
getConnectionFailures()
|
java.lang.Integer |
getConnectionLeaks()
|
java.lang.Integer |
getConnMaxAge()
|
java.lang.Integer |
getCurrentBusy()
|
java.lang.Integer |
getCurrentInTx()
|
java.lang.Integer |
getCurrentOpened()
|
java.lang.Integer |
getCurrentWaiters()
|
java.lang.String |
getDescription()
return the description |
java.lang.String |
getFileName()
|
java.lang.Integer |
getInitSize()
|
java.lang.Integer |
getJdbcConnCheckLevel()
|
java.lang.String |
getJdbcTestStatement()
|
java.lang.String |
getJndiName()
return the jndi name |
java.lang.String |
getManagedConnectionFactory()
Return the ManagedConnectionFactory object name |
java.lang.Integer |
getMaxOpentime()
|
java.lang.Integer |
getMaxSize()
|
java.lang.Integer |
getMaxWaiters()
|
java.lang.Integer |
getMaxWaitTime()
|
java.lang.Integer |
getMinSize()
|
java.lang.Integer |
getOpenedCount()
|
java.util.Properties |
getProperties()
return the ConnectionFactory Properties |
java.lang.Integer |
getPstmtMax()
|
java.lang.Integer |
getRejectedFull()
|
java.lang.Integer |
getRejectedOpen()
|
java.lang.Integer |
getRejectedOther()
|
java.lang.Integer |
getRejectedTimeout()
|
java.lang.Integer |
getSamplingPeriod()
|
protected long |
getSequenceNumber()
Gets the sequence number for reconfiguration opeartions |
java.lang.Integer |
getServedOpen()
|
java.lang.Integer |
getWaiterCount()
|
java.lang.Integer |
getWaitersHigh()
|
java.lang.Integer |
getWaitersHighRecent()
|
java.lang.Long |
getWaitingHigh()
|
java.lang.Long |
getWaitingHighRecent()
|
java.lang.Long |
getWaitingTime()
|
void |
setConnMaxAge(java.lang.Integer mn)
|
void |
setJdbcConnCheckLevel(java.lang.Integer level)
Sets the JDBC connection checking level |
void |
setJdbcTestStatement(java.lang.String test)
|
void |
setManagedConnectionFactory(java.lang.String managedConnectionFactoryObjectName)
Set the ManagedConnectionFactory object name |
void |
setMaxOpentime(java.lang.Integer mn)
|
void |
setMaxSize(java.lang.Integer max)
|
void |
setMaxWaiters(java.lang.Integer max)
|
void |
setMaxWaitTime(java.lang.Integer max)
|
void |
setMinSize(java.lang.Integer min)
MBean method allowing to set the minimum size of connection pool |
void |
setPstmtMax(java.lang.Integer size)
|
void |
setSamplingPeriod(java.lang.Integer i)
|
Methods inherited from class org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject |
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider |
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCAConnectionFactory(java.lang.String objectName, java.lang.String jndiname, java.lang.String fileName, java.util.Properties prop, java.lang.String description, ConnectionManagerImpl cm)
objectName
- String of object namejndiname
- String of ConnectionFactoryprop
- Properties of the ConnectionFactorydescription
- String of ConnectionFactory descriptionMethod Detail |
public java.lang.String getDescription()
public java.lang.String getJndiName()
public java.lang.String getManagedConnectionFactory()
public java.util.Properties getProperties()
public void setManagedConnectionFactory(java.lang.String managedConnectionFactoryObjectName)
managedConnectionFactoryObjectName
- String to setpublic java.lang.Integer getJdbcConnCheckLevel()
public void setJdbcConnCheckLevel(java.lang.Integer level)
level
- connection levelpublic java.lang.Integer getConnMaxAge()
public void setConnMaxAge(java.lang.Integer mn)
mn
- Connections maximum agepublic java.lang.Integer getMaxSize()
public void setMaxSize(java.lang.Integer max)
max
- maximum size of connection poolpublic java.lang.Integer getMaxOpentime()
public void setMaxOpentime(java.lang.Integer mn)
mn
- maximum opening time in minutes for connectionspublic java.lang.Integer getMaxWaiters()
public void setMaxWaiters(java.lang.Integer max)
max
- maximum nb of waiters allowedpublic java.lang.Integer getMaxWaitTime()
public void setMaxWaitTime(java.lang.Integer max)
max
- maximum time to wait for a connection, in secondspublic java.lang.Integer getMinSize()
public java.lang.Integer getInitSize()
public void setMinSize(java.lang.Integer min)
min
- minimum size of connection poolpublic java.lang.Integer getSamplingPeriod()
public void setSamplingPeriod(java.lang.Integer i)
i
- sampling period for refresching pool statisticspublic java.lang.String getJdbcTestStatement()
public void setJdbcTestStatement(java.lang.String test)
test
- SQL query for JDBC connections testpublic java.lang.Integer getConnectionFailures()
public java.lang.Integer getConnectionLeaks()
public java.lang.Integer getCurrentBusy()
public java.lang.Integer getBusyMax()
public java.lang.Integer getBusyMin()
public java.lang.Integer getCurrentInTx()
public java.lang.Integer getCurrentOpened()
public java.lang.Integer getCurrentWaiters()
public java.lang.Integer getOpenedCount()
public java.lang.Integer getRejectedFull()
public java.lang.Integer getRejectedOpen()
public java.lang.Integer getRejectedOther()
public java.lang.Integer getRejectedTimeout()
public java.lang.Integer getServedOpen()
public java.lang.Integer getWaiterCount()
public java.lang.Integer getWaitersHigh()
public java.lang.Integer getWaitersHighRecent()
public java.lang.Long getWaitingHigh()
public java.lang.Long getWaitingHighRecent()
public java.lang.Long getWaitingTime()
protected long getSequenceNumber()
public java.lang.String getFileName()
public java.lang.Integer getPstmtMax()
public void setPstmtMax(java.lang.Integer size)
size
- the PrepareStatement cache max size
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |