org.objectweb.jonas.dbm
Interface JmxDataSourceMBean

All Known Subinterfaces:
ConnectionManagerMBean, JonasXAPoolDataSourceMBean

public interface JmxDataSourceMBean

MBean Interface for general DataSource Management MBean type: Standard MBean model: inheritance

Author:
Michel Bruno and Guillaume Riviere Contributor(s): 03/01/14 Adriana Danes Add new attribute and accessors for the datasource name, additionally to the the one used for the jndi name.

Method Summary
 java.lang.String getClassName()
           
 java.lang.Integer getCurrentNumberOfJDBCConnectionOpen()
           
 java.lang.String getDataSourceDescription()
           
 java.lang.String getDataSourceFactory()
           
 java.lang.String getDatasourceName()
           
 java.lang.String getDataSourceType()
          return the type of this data source
 java.lang.String getDataSourceXADataName()
           
 java.lang.String getDSName()
           
 java.lang.Integer getJDBCConnCheckLevel()
          MBean method:
 java.lang.Integer getJDBCConnMaxAge()
          MBean method:
 java.lang.Integer getJDBCDeadLockPool()
          MBean method:
 java.lang.Integer getJDBCLoopWaitPool()
          MBean method:
 java.lang.Integer getJDBCMaxConnPool()
          MBean method:
 java.lang.Integer getJDBCMinConnPool()
          MBean method:
 java.lang.Integer getJDBCSleepTimeOut()
          MBean method:
 java.lang.String getJDBCTestStatement()
          MBean method:
 java.lang.String getPassword()
           
 java.lang.String getUrl()
           
 java.lang.String getUserName()
           
 void setJDBCConnCheckLevel(java.lang.Integer level)
          MBean method:
 void setJDBCConnMaxAge(java.lang.Integer age)
          MBean method:
 void setJDBCDeadLockPool(java.lang.Integer size)
          MBean method:
 void setJDBCLoopWaitPool(java.lang.Integer size)
          MBean method:
 void setJDBCMaxConnPool(java.lang.Integer max)
          MBean method:
 void setJDBCMinConnPool(java.lang.Integer min)
          MBean method:
 void setJDBCSleepTimeOut(java.lang.Integer timeOut)
          MBean method: do nothing
 void setJDBCTestStatement(java.lang.String test)
          MBean method:
 

Method Detail

getDSName

public java.lang.String getDSName()
Returns:
String Jndi name of the datasource

getDatasourceName

public java.lang.String getDatasourceName()
Returns:
String datasource name (name used for configuration)

getUrl

public java.lang.String getUrl()
Returns:
String data source url

getClassName

public java.lang.String getClassName()
Returns:
String data source class name

getUserName

public java.lang.String getUserName()
Returns:
String data source user

getPassword

public java.lang.String getPassword()
Returns:
String data source password

getDataSourceFactory

public java.lang.String getDataSourceFactory()
Returns:
the data source factory none or JonasStandardXADataSource

getDataSourceXADataName

public java.lang.String getDataSourceXADataName()
Returns:
the DataSourceXAName

getDataSourceDescription

public java.lang.String getDataSourceDescription()
Returns:
the description of this datasource

getCurrentNumberOfJDBCConnectionOpen

public java.lang.Integer getCurrentNumberOfJDBCConnectionOpen()
Returns:
Integer number of open connection in this ds

getJDBCConnCheckLevel

public java.lang.Integer getJDBCConnCheckLevel()
MBean method:
Returns:
connection level

setJDBCConnCheckLevel

public void setJDBCConnCheckLevel(java.lang.Integer level)
MBean method:
Parameters:
connection - level

getJDBCConnMaxAge

public java.lang.Integer getJDBCConnMaxAge()
MBean method:
Returns:
connection max age

setJDBCConnMaxAge

public void setJDBCConnMaxAge(java.lang.Integer age)
MBean method:
Parameters:
connection - max age

getJDBCTestStatement

public java.lang.String getJDBCTestStatement()
MBean method:
Returns:
test statement

setJDBCTestStatement

public void setJDBCTestStatement(java.lang.String test)
MBean method:
Parameters:
test - statement

getJDBCMinConnPool

public java.lang.Integer getJDBCMinConnPool()
MBean method:
Returns:
connection pool min

setJDBCMinConnPool

public void setJDBCMinConnPool(java.lang.Integer min)
MBean method:
Parameters:
min - for connection pool

getJDBCMaxConnPool

public java.lang.Integer getJDBCMaxConnPool()
MBean method:
Returns:
connection pool max

setJDBCMaxConnPool

public void setJDBCMaxConnPool(java.lang.Integer max)
MBean method:
Parameters:
max - for connection pool

getJDBCSleepTimeOut

public java.lang.Integer getJDBCSleepTimeOut()
MBean method:
Returns:
Integer sleep Time out

setJDBCSleepTimeOut

public void setJDBCSleepTimeOut(java.lang.Integer timeOut)
MBean method: do nothing
Parameters:
Integer - sleep Time out

getJDBCDeadLockPool

public java.lang.Integer getJDBCDeadLockPool()
MBean method:
Returns:
Integer lock pool

setJDBCDeadLockPool

public void setJDBCDeadLockPool(java.lang.Integer size)
MBean method:
Parameters:
Integer - lock pool

getJDBCLoopWaitPool

public java.lang.Integer getJDBCLoopWaitPool()
MBean method:
Returns:
Integer wait pool

setJDBCLoopWaitPool

public void setJDBCLoopWaitPool(java.lang.Integer size)
MBean method:
Parameters:
Integer - wait pool

getDataSourceType

public java.lang.String getDataSourceType()
return the type of this data source