Java Doc for ResourceUtility.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) 


java.lang.Object
   org.objectweb.jonas.resource.ResourceUtility

ResourceUtility
public class ResourceUtility (Code)
ResourceUtility class
author:
   Eric Hardesty
author:
   Contributor(s):


Field Summary
final public static  StringJAO
    
final public static  StringJAS
    
final public static  StringJCD
    

Constructor Summary
public  ResourceUtility()
    
public  ResourceUtility(MBeanServer mbeanServer, Registry oRegistry, Logger log, Logger sLog, Logger mLog)
    

Method Summary
public  ConfigPropertyDesc[]buildConfigProperty(List raCfg, List jRaCfg1, List jRaCfg2)
    
public  ConnectionManagerPoolParamsconfigurePoolParams(PoolParamsDesc pParams, JdbcConnParamsDesc jConnParams, ConnectionManagerPoolParams pool)
    
public  ConnectionManagercreateConnectionManager(String trans, TransactionManager tm, Logger logger, Logger poolLogger, String jndiName)
    
public  StringgetJcaMcfName(String jndiName)
    
public  ObjectgetJonasXML(JonasConnectorDesc jonasConn, String id, int idOffset, String oType)
    
public  ObjectprocessMCF(ConnectorDesc conn, JonasConnectorDesc jonasConn, ConnectionManager cm, ClassLoader curLoader, String rarName, String mcfc, String jndiName, String logEnabled, String logTopic, ConfigPropertyDesc[] cfgRaJonas, ResourceAdapter resAdp, int idOff)
    
public  voidprocessSetters(Class clsClass, Object clsObj, String rarFileName, ConfigPropertyDesc[] cProp)
    
public  voidregisterMBean(Referenceable cf, String jndiName, String rarName, String rarFileName, ConnectorDesc conn, JonasConnectorDesc jonasConn, String factType, int factOffset, JCAResource jcaResourceMBean, String jcaResourceName, String jDomain, String jServer, Context ictx, Properties prop, String description, ConnectionManagerImpl cm)
    

Field Detail
JAO
final public static String JAO(Code)
JOnAS Administrated Object



JAS
final public static String JAS(Code)
JOnAS Activationspec



JCD
final public static String JCD(Code)
JOnAS Connection Definition




Constructor Detail
ResourceUtility
public ResourceUtility()(Code)
Default constructor



ResourceUtility
public ResourceUtility(MBeanServer mbeanServer, Registry oRegistry, Logger log, Logger sLog, Logger mLog)(Code)
Constructor
Parameters:
  mbeanServer - MBeanServer object
Parameters:
  oRegistry - Registry object
Parameters:
  log - Logger main logger
Parameters:
  sLog - Logger setter logger
Parameters:
  mLog - Logger management logger




Method Detail
buildConfigProperty
public ConfigPropertyDesc[] buildConfigProperty(List raCfg, List jRaCfg1, List jRaCfg2)(Code)

Parameters:
  raCfg - List
Parameters:
  jRaCfg1 - List
Parameters:
  jRaCfg2 - List ConfigPropertyDesc array



configurePoolParams
public ConnectionManagerPoolParams configurePoolParams(PoolParamsDesc pParams, JdbcConnParamsDesc jConnParams, ConnectionManagerPoolParams pool) throws Exception(Code)
set the PoolParams from the JonasConnector specified
Parameters:
  pParams - PoolParamsDesc
Parameters:
  jConnParams - JdbcConnParamsDesc
Parameters:
  pool - ConnectionManagerPoolParams ConnectionManagerPoolParams
throws:
  Exception - any exception



createConnectionManager
public ConnectionManager createConnectionManager(String trans, TransactionManager tm, Logger logger, Logger poolLogger, String jndiName) throws Exception(Code)

Parameters:
  trans - String
Parameters:
  tm - TransactionManager
Parameters:
  logger - Logger
Parameters:
  poolLogger - Logger
Parameters:
  jndiName - String ConnectionManager
throws:
  Exception - any exception



getJcaMcfName
public String getJcaMcfName(String jndiName)(Code)
Return the JCA Managed Connection Factory name
Parameters:
  jndiName - String of jndi name String of JCA Managed Connection Factory name



getJonasXML
public Object getJonasXML(JonasConnectorDesc jonasConn, String id, int idOffset, String oType) throws Exception(Code)
Return the parsed XML object relative to the section
Parameters:
  jonasConn - JonasConnectorDesc object
Parameters:
  id - String id of the section
Parameters:
  idOffset - int offset within the section
Parameters:
  oType - String type of section Object of parsed XML object
throws:
  Exception - if the element is out of bound



processMCF
public Object processMCF(ConnectorDesc conn, JonasConnectorDesc jonasConn, ConnectionManager cm, ClassLoader curLoader, String rarName, String mcfc, String jndiName, String logEnabled, String logTopic, ConfigPropertyDesc[] cfgRaJonas, ResourceAdapter resAdp, int idOff) throws Exception(Code)
Process the ManagedConnectionFactory object
Parameters:
  conn - ConnectorDesc
Parameters:
  jonasConn - JonasConnectorDesc
Parameters:
  cm - ConnectionManager
Parameters:
  curLoader - ClassLoader
Parameters:
  rarName - String
Parameters:
  mcfc - String
Parameters:
  jndiName - String
Parameters:
  logEnabled - String
Parameters:
  logTopic - String
Parameters:
  cfgRaJonas - ConfigPropertyDesc array
Parameters:
  resAdp - ResourceAdapter
Parameters:
  idOff - int Object
throws:
  Exception - any exception



processSetters
public void processSetters(Class clsClass, Object clsObj, String rarFileName, ConfigPropertyDesc[] cProp) throws Exception(Code)

Parameters:
  clsClass - Class
Parameters:
  clsObj - Object
Parameters:
  rarFileName - String
Parameters:
  cProp - ConfigPropertyDesc array
throws:
  Exception - any exception



registerMBean
public void registerMBean(Referenceable cf, String jndiName, String rarName, String rarFileName, ConnectorDesc conn, JonasConnectorDesc jonasConn, String factType, int factOffset, JCAResource jcaResourceMBean, String jcaResourceName, String jDomain, String jServer, Context ictx, Properties prop, String description, ConnectionManagerImpl cm) throws Exception(Code)

Parameters:
  cf - Referenceable
Parameters:
  jndiName - String
Parameters:
  rarName - String
Parameters:
  conn - ConnectorDesc
Parameters:
  jonasConn - JonasConnectorDesc
Parameters:
  factType - String factory type
Parameters:
  factOffset - int factory offset
Parameters:
  jcaResourceMBean - JCAResource
Parameters:
  jcaResourceName - String
Parameters:
  jDomain - String of JOnAS domain name
Parameters:
  jServer - String of JOnAS server name
Parameters:
  ictx - Context
Parameters:
  prop - Properties
throws:
  Exception - any Exception



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.