Java Doc for EJBService.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » container » 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.container 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.container.EJBService

All known Subclasses:   org.objectweb.jonas.container.EJBServiceImpl,
EJBService
public interface EJBService extends Service(Code)
EJB Service interface.




Method Summary
 voidcheckGenIC(String fileName, URL[] urls)
     Check that GenIC have been applied on the given ejb-jar file If it was not done, it run GenIC against the file.
 StringcreateContainer(Context ctx)
     Create a JOnAS Container for all the beans that are described in a .xml file, or belong to .jar file.
Parameters:
  ctx - JNDI context in which is found the container configuration.
 StringcreateContainer(String fileName)
    
 voiddeployJars(Context ctx)
     Deploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader).
 ContainergetContainer(String fileName)
    
 StringgetEjbjarsDirectory()
     Return the Ejbjars directory.
 JWorkManagergetWorkManager()
    
 BooleanisJarDeployed(String fileName)
     Test if the specified file is already deployed (if a container is created for this jar).
 booleanisJarDeployedByWorkName(String workFileName)
     Test if the specified jar identified with its work name is already deployed (if a container is created for this jar).
 Container[]listContainers()
    
 voidremoveCache(ClassLoader earClassLoader)
     Make a cleanup of the cache of deployment descriptor.
 voidremoveContainer(Container cont)
     Remove a JOnAS Container.
 voidremoveContainer(String fileName)
    
 voidsyncAllEntities(boolean passivate)
    
 voidunDeployJars(URL[] urls)
     Undeploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader).



Method Detail
checkGenIC
void checkGenIC(String fileName, URL[] urls)(Code)
Check that GenIC have been applied on the given ejb-jar file If it was not done, it run GenIC against the file.
Parameters:
  fileName - given EJB-JAR file.
Parameters:
  urls - Array of URLs used as CLASSPATH during EJB compilation



createContainer
String createContainer(Context ctx) throws Exception(Code)
Create a JOnAS Container for all the beans that are described in a .xml file, or belong to .jar file.
Parameters:
  ctx - JNDI context in which is found the container configuration. The ObjectName of the MBean associated to the container (i.e. to the deployed module)



createContainer
String createContainer(String fileName) throws Exception(Code)



deployJars
void deployJars(Context ctx) throws ServiceException(Code)
Deploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader). (This method is only used for the ear applications, not for the ejb-jar applications).
Parameters:
  ctx - the context containing the configurationto deploy the ejbjars.
This context contains the following parameters :
- earRootUrl the root of the ear application.
- earClassLoader the ear classLoader of the ear application.
- ejbClassLoader the ejb classLoader for the ejbjars.
- jarURLs the list of the urls of the ejb-jars to deploy.
- roleNames the role names of the security-role.
ClassLoader the ejbClassLoader created.
throws:
  ServiceException - if an error occurs during the deployment.



getContainer
Container getContainer(String fileName)(Code)
the Container by its file name (.xml or .jar)



getEjbjarsDirectory
String getEjbjarsDirectory()(Code)
Return the Ejbjars directory. The Ejbjars directory



getWorkManager
JWorkManager getWorkManager()(Code)
Get the workManager



isJarDeployed
Boolean isJarDeployed(String fileName)(Code)
Test if the specified file is already deployed (if a container is created for this jar).
Parameters:
  fileName - the name of the jar file true if the jar was deployed, false otherwise



isJarDeployedByWorkName
boolean isJarDeployedByWorkName(String workFileName)(Code)
Test if the specified jar identified with its work name is already deployed (if a container is created for this jar).
Parameters:
  workFileName - the internal name of the jar file (working copy) true if the jar was deployed, false otherwise



listContainers
Container[] listContainers()(Code)
List of all JOnAS Containers an array of Container objects



removeCache
void removeCache(ClassLoader earClassLoader)(Code)
Make a cleanup of the cache of deployment descriptor. This method must be invoked after the ear deployment by the EAR service. the deployment of an ear by .
Parameters:
  earClassLoader - the ClassLoader of the ear application toremove from the cache.



removeContainer
void removeContainer(Container cont)(Code)
Remove a JOnAS Container.
Parameters:
  cont - JOnAS container to remove.



removeContainer
void removeContainer(String fileName) throws Exception(Code)



syncAllEntities
void syncAllEntities(boolean passivate)(Code)
Synchronized all entity bean containers
Parameters:
  passivate - passivate instances after synchronization.



unDeployJars
void unDeployJars(URL[] urls)(Code)
Undeploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader). (This method is only used for the ear applications, not for the ejb-jar applications).
Parameters:
  urls - the list of the urls of the ejb-jars to deploy.



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