Java Doc for JCAConnectionFactory.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » resource » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.resource 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
   org.objectweb.jonas.resource.JCAConnectionFactory

JCAConnectionFactory
public class JCAConnectionFactory extends J2EEManagedObject (Code)
MBean class for JCA Connection Factory Management
author:
   Adriana Danes JSR 77 (J2EE Management Standard)



Constructor Summary
public  JCAConnectionFactory(String objectName, String jndiname, String fileName, Properties prop, String description, ConnectionManagerImpl cm)
    

Method Summary
public  IntegergetBusyMax()
    
public  IntegergetBusyMin()
    
public  IntegergetConnMaxAge()
    
public  IntegergetConnectionFailures()
    
public  IntegergetConnectionLeaks()
    
public  IntegergetCurrentBusy()
    
public  IntegergetCurrentInTx()
    
public  IntegergetCurrentOpened()
    
public  IntegergetCurrentWaiters()
    
public  StringgetDescription()
    
public  StringgetFileName()
    
public  IntegergetInitSize()
    
public  IntegergetJdbcConnCheckLevel()
    
public  StringgetJdbcTestStatement()
    
public  StringgetJndiName()
    
public  StringgetManagedConnectionFactory()
    
public  IntegergetMaxOpentime()
    
public  IntegergetMaxSize()
    
public  IntegergetMaxWaitTime()
    
public  IntegergetMaxWaiters()
    
public  IntegergetMinSize()
    
public  IntegergetOpenedCount()
    
public  PropertiesgetProperties()
    
public  IntegergetPstmtMax()
    
public  IntegergetRejectedFull()
    
public  IntegergetRejectedOpen()
    
public  IntegergetRejectedOther()
    
public  IntegergetRejectedTimeout()
    
public  IntegergetSamplingPeriod()
    
protected  longgetSequenceNumber()
    
public  IntegergetServedOpen()
    
public  IntegergetWaiterCount()
    
public  IntegergetWaitersHigh()
    
public  IntegergetWaitersHighRecent()
    
public  LonggetWaitingHigh()
    
public  LonggetWaitingHighRecent()
    
public  LonggetWaitingTime()
    
public  voidsetConnMaxAge(Integer mn)
    
public  voidsetJdbcConnCheckLevel(Integer level)
    
public  voidsetJdbcTestStatement(String test)
    
public  voidsetManagedConnectionFactory(String managedConnectionFactoryObjectName)
    
public  voidsetMaxOpentime(Integer mn)
    
public  voidsetMaxSize(Integer max)
    
public  voidsetMaxWaitTime(Integer max)
    
public  voidsetMaxWaiters(Integer max)
    
public  voidsetMinSize(Integer min)
    
public  voidsetPstmtMax(Integer size)
    
public  voidsetSamplingPeriod(Integer i)
    


Constructor Detail
JCAConnectionFactory
public JCAConnectionFactory(String objectName, String jndiname, String fileName, Properties prop, String description, ConnectionManagerImpl cm)(Code)
Constructor
Parameters:
  objectName - String of object name
Parameters:
  jndiname - String of ConnectionFactory
Parameters:
  prop - Properties of the ConnectionFactory
Parameters:
  description - String of ConnectionFactory description




Method Detail
getBusyMax
public Integer getBusyMax()(Code)
number of busy connections



getBusyMin
public Integer getBusyMin()(Code)
number of busy connections



getConnMaxAge
public Integer getConnMaxAge()(Code)
Connections maximum age



getConnectionFailures
public Integer getConnectionFailures()(Code)
number of connection failures



getConnectionLeaks
public Integer getConnectionLeaks()(Code)
number of connection leaks



getCurrentBusy
public Integer getCurrentBusy()(Code)
number of busy connections



getCurrentInTx
public Integer getCurrentInTx()(Code)
number of connections used in transactions



getCurrentOpened
public Integer getCurrentOpened()(Code)
number of opened connections



getCurrentWaiters
public Integer getCurrentWaiters()(Code)
current number of connection waiters



getDescription
public String getDescription()(Code)
return the description String description



getFileName
public String getFileName()(Code)
Returns the fileName.



getInitSize
public Integer getInitSize()(Code)
initial size of connection pool



getJdbcConnCheckLevel
public Integer getJdbcConnCheckLevel()(Code)
JDBC connection checking level



getJdbcTestStatement
public String getJdbcTestStatement()(Code)
SQL query for JDBC connections test



getJndiName
public String getJndiName()(Code)
return the jndi name String jndi name



getManagedConnectionFactory
public String getManagedConnectionFactory()(Code)
Return the ManagedConnectionFactory object name String of ManagedConnectionFactory name



getMaxOpentime
public Integer getMaxOpentime()(Code)
maximum opening time of connections



getMaxSize
public Integer getMaxSize()(Code)
max maximum size of connection pool



getMaxWaitTime
public Integer getMaxWaitTime()(Code)
maximum time to wait for a connection, in seconds



getMaxWaiters
public Integer getMaxWaiters()(Code)
maximum nb of waiters allowed



getMinSize
public Integer getMinSize()(Code)
minimum size of connection pool



getOpenedCount
public Integer getOpenedCount()(Code)
number of opened physical JDBC connections



getProperties
public Properties getProperties()(Code)
return the ConnectionFactory Properties Properties ConnectionFactory properties



getPstmtMax
public Integer getPstmtMax()(Code)
Returns the PrepareStatement cache max size



getRejectedFull
public Integer getRejectedFull()(Code)
number of open calls that were rejected because too many waiters



getRejectedOpen
public Integer getRejectedOpen()(Code)
total number of open calls that were rejected



getRejectedOther
public Integer getRejectedOther()(Code)
number of open calls that were rejected by an unknown reason



getRejectedTimeout
public Integer getRejectedTimeout()(Code)
number of open calls that were rejected by timeout



getSamplingPeriod
public Integer getSamplingPeriod()(Code)
sampling period for refresching pool statistics



getSequenceNumber
protected long getSequenceNumber()(Code)
Gets the sequence number for reconfiguration opeartions the sequence number for reconfiguration operations



getServedOpen
public Integer getServedOpen()(Code)
number of xa connection served



getWaiterCount
public Integer getWaiterCount()(Code)
total number of waiters since datasource creation.



getWaitersHigh
public Integer getWaitersHigh()(Code)
Maximum number of waiters since datasource creation.



getWaitersHighRecent
public Integer getWaitersHighRecent()(Code)
Maximum nb of waiters in last sampling period



getWaitingHigh
public Long getWaitingHigh()(Code)
Maximum waiting time (millisec) since datasource creation.



getWaitingHighRecent
public Long getWaitingHighRecent()(Code)
Maximum waiting time (millisec) in last sampling period



getWaitingTime
public Long getWaitingTime()(Code)
Total waiting time (millisec) since datasource creation.



setConnMaxAge
public void setConnMaxAge(Integer mn)(Code)

Parameters:
  mn - Connections maximum age



setJdbcConnCheckLevel
public void setJdbcConnCheckLevel(Integer level)(Code)
Sets the JDBC connection checking level
Parameters:
  level - connection level



setJdbcTestStatement
public void setJdbcTestStatement(String test)(Code)

Parameters:
  test - SQL query for JDBC connections test



setManagedConnectionFactory
public void setManagedConnectionFactory(String managedConnectionFactoryObjectName)(Code)
Set the ManagedConnectionFactory object name
Parameters:
  managedConnectionFactoryObjectName - String to set



setMaxOpentime
public void setMaxOpentime(Integer mn)(Code)

Parameters:
  mn - maximum opening time in minutes for connections



setMaxSize
public void setMaxSize(Integer max)(Code)

Parameters:
  max - maximum size of connection pool



setMaxWaitTime
public void setMaxWaitTime(Integer max)(Code)

Parameters:
  max - maximum time to wait for a connection, in seconds



setMaxWaiters
public void setMaxWaiters(Integer max)(Code)

Parameters:
  max - maximum nb of waiters allowed



setMinSize
public void setMinSize(Integer min)(Code)
MBean method allowing to set the minimum size of connection pool
Parameters:
  min - minimum size of connection pool



setPstmtMax
public void setPstmtMax(Integer size)(Code)

Parameters:
  size - the PrepareStatement cache max size



setSamplingPeriod
public void setSamplingPeriod(Integer i)(Code)

Parameters:
  i - sampling period for refresching pool statistics



Fields inherited from org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
final public static String J2EE_TYPE_APPLICATION(Code)(Java Doc)
final public static String J2EE_TYPE_SERVER(Code)(Java Doc)
final public static String NAME(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
public String getObjectName()(Code)(Java Doc)
public boolean isEventProvider()(Code)(Java Doc)
public boolean isStateManageable()(Code)(Java Doc)
public boolean isStatisticsProvider()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.