Java Doc for ResourceService.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.resource.ResourceService

All known Subclasses:   org.objectweb.jonas.resource.ResourceServiceImpl,
ResourceService
public interface ResourceService extends Service(Code)
JCA resource service implmentation
author:
   Philippe Coq
author:
   Contributor(s):
author:
   JOnAS 2.4 Sebastien Chassande-Barrioz (sebastien.chassande@inrialpes.fr)
author:
   JOnAS 3.0 Eric Hardesty (Eric.Hardesty@bull.com)
author:
   JOnAS 4.0 Adriana Danes (JSR 77 + use of Jakarta Modeler Component : http://jakarta.apache.org/commons/modeler)
author:
   Eric Hardesty (J2CA 1.5)




Method Summary
 StringcreateResourceAdapter(Context ctx)
    
 StringdeployRar(String fileName)
     Deploy an RAR, used by management applications via J2EEServer managed object
Parameters:
  fileName - the fileName of the rar which must be be deployed.
 voiddeployRars(Context ctx)
     Deploy the given rars of an ear file with the specified parent classloader (ear classloader).
 StringgetRarsDirectory()
     Return the Rars directory.
 BooleanisRarDeployed(String fileName)
     Test if the specified filename is already deployed or not.
Parameters:
  fileName - the name of the rar file.
 booleanisRarDeployedByUnpackName(String unpackName)
     Test if the specified unpack name is already deployed or not.
 voidunDeployRar(String fileName)
    
 voidunDeployRars(URL[] urls, URL earUrl)
     Undeploy the given rars of an ear file with the specified parent classloader (ear classloader).



Method Detail
createResourceAdapter
String createResourceAdapter(Context ctx) throws Exception(Code)
Create a Resource Adapter
Parameters:
  ctx - Context that defines the:1) name of the resource adapter.2) information to determine if the rar is in an earthe configuration information for this resource adaptermust be found in the xml files in the rar filebeing deployed The ObjectName of the MBean associated to the deployed J2EE Application
throws:
  Exception - if the create of the RAR object fails.



deployRar
String deployRar(String fileName) throws Exception(Code)
Deploy an RAR, used by management applications via J2EEServer managed object
Parameters:
  fileName - the fileName of the rar which must be be deployed. The ObjectName of the MBean associated to the deployed J2EE Application
throws:
  Exception - if the deployment of the RAR failed.



deployRars
void deployRars(Context ctx) throws ResourceServiceException(Code)
Deploy the given rars of an ear file with the specified parent classloader (ear classloader). (This method is only used for the ear applications).
Parameters:
  ctx - Context that defines the:This context contains the following parameters :
- urls the list of the urls of the rars to deploy.
- earRootURL the URL of the ear application file.
- earClassLoader the ear classLoader of the j2ee app.
- altDDs the optional URI of deployment descriptor.

throws:
  ResourceServiceException - if an error occurs during the deployment.



getRarsDirectory
String getRarsDirectory()(Code)
Return the Rars directory. The Rars directory



isRarDeployed
Boolean isRarDeployed(String fileName)(Code)
Test if the specified filename is already deployed or not.
Parameters:
  fileName - the name of the rar file. true if the rar is deployed, else false.



isRarDeployedByUnpackName
boolean isRarDeployedByUnpackName(String unpackName)(Code)
Test if the specified unpack name is already deployed or not. This method is defined in the RarService interface.
Parameters:
  unpackName - the name of the rar file. true if the rar is deployed, else false.



unDeployRar
void unDeployRar(String fileName) throws Exception(Code)
Undeploy an RAR, used by management applications via J2EEServer managed object
Parameters:
  fileName - the fileName of the rar which must be be undeployed.
throws:
  Exception - if the undeployment of the RAR failed.



unDeployRars
void unDeployRars(URL[] urls, URL earUrl)(Code)
Undeploy the given rars of an ear file with the specified parent classloader (ear classloader). (This method is only used for the ear applications).
Parameters:
  urls - the list of the urls of the rars to deploy.
Parameters:
  earUrl - ear's URL



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