Java Doc for EjbModule.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » ejb » 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 » EJB Server JBoss 4.2.1 » server » org.jboss.ejb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.ejb.EjbModule

EjbModule
public class EjbModule extends ServiceMBeanSupport implements EjbModuleMBean(Code)
An EjbModule represents a collection of beans that are deployed as a unit.

The beans may use the EjbModule to access other beans within the same deployment unit.
See Also:   Container
See Also:   EJBDeployer
author:
   Rickard Öberg
author:
   David Jencks
author:
   Francisco Reverbel
author:
   Adrian.Brock
author:
   Scott Stark
version:
   $Revision: 60959 $



Field Summary
final public static  intANY
    
final static  StringANY_VALUE
    
final public static  StringBASE_EJB_MODULE_NAME
    
final public static  intBMT
    
final static  StringBMT_VALUE
    
final public static  intCMT
    
final static  StringCMT_VALUE
    
public static  StringDEFAULT_ENTITY_BMP_CONFIGURATION
    
public static  StringDEFAULT_ENTITY_CMP_CONFIGURATION
    
public static  StringDEFAULT_MESSAGEDRIVEN_CONFIGURATION
    
public static  StringDEFAULT_STATEFUL_CONFIGURATION
    
public static  StringDEFAULT_STATELESS_CONFIGURATION
    
final public static  ObjectNameEJB_MODULE_QUERY_NAME
    
 ClassLoaderclassLoader
     Class loader of this deployment unit.
 LinkedListcontainerOrdering
    
 HashMapcontainers
     HashMap the containers for this deployment unit.
 HashMaplocalHomes
    
final  Stringname
    

Constructor Summary
public  EjbModule(DeploymentInfo di, TransactionManager tm, ObjectName webServiceName)
    

Method Summary
public  voidaddLocalHome(Container con, EJBLocalHome localHome)
    
 voidcreateMissingPermissions(Container con, BeanMetaData bean)
     Create any JACC permissions for the ejb methods that were not explicitly assigned method-permission or exclude-list mappings.
protected  voidcreateService()
    
protected  voiddestroyService()
    
public  ClassLoadergetClassLoader()
     Get the class loader of this deployment unit.
public  ContainergetContainer(String name)
    
public  CollectiongetContainers()
     Get all containers in this deployment unit.
public  EJBLocalHomegetLocalHome(Container con)
    
public  ObjectgetModuleData(Object key)
    
public  MapgetModuleDataMap()
    
public  URLgetURL()
    
public  booleanisCallByValue()
    
public  voidputModuleData(Object key, Object value)
    
public  voidremoveContainer(Container con)
     Remove a container from this deployment unit.
public  voidremoveLocalHome(Container con)
    
public  voidremoveModuleData(Object key)
    
public  voidsetClassLoader(ClassLoader cl)
    
protected  voidstartService()
     The mbean Service interface start method calls the start method on each contatiner, then the init method on each container.
protected  voidstopService()
     Stops all the containers of this application.

Field Detail
ANY
final public static int ANY(Code)



ANY_VALUE
final static String ANY_VALUE(Code)



BASE_EJB_MODULE_NAME
final public static String BASE_EJB_MODULE_NAME(Code)



BMT
final public static int BMT(Code)



BMT_VALUE
final static String BMT_VALUE(Code)



CMT
final public static int CMT(Code)



CMT_VALUE
final static String CMT_VALUE(Code)



DEFAULT_ENTITY_BMP_CONFIGURATION
public static String DEFAULT_ENTITY_BMP_CONFIGURATION(Code)



DEFAULT_ENTITY_CMP_CONFIGURATION
public static String DEFAULT_ENTITY_CMP_CONFIGURATION(Code)



DEFAULT_MESSAGEDRIVEN_CONFIGURATION
public static String DEFAULT_MESSAGEDRIVEN_CONFIGURATION(Code)



DEFAULT_STATEFUL_CONFIGURATION
public static String DEFAULT_STATEFUL_CONFIGURATION(Code)



DEFAULT_STATELESS_CONFIGURATION
public static String DEFAULT_STATELESS_CONFIGURATION(Code)



EJB_MODULE_QUERY_NAME
final public static ObjectName EJB_MODULE_QUERY_NAME(Code)



classLoader
ClassLoader classLoader(Code)
Class loader of this deployment unit.



containerOrdering
LinkedList containerOrdering(Code)
The containers in their ApplicationMetaData ordering



containers
HashMap containers(Code)
HashMap the containers for this deployment unit.



localHomes
HashMap localHomes(Code)
HashMap of local homes



name
final String name(Code)
Name of this deployment unit, url it was deployed from




Constructor Detail
EjbModule
public EjbModule(DeploymentInfo di, TransactionManager tm, ObjectName webServiceName)(Code)




Method Detail
addLocalHome
public void addLocalHome(Container con, EJBLocalHome localHome)(Code)



createMissingPermissions
void createMissingPermissions(Container con, BeanMetaData bean) throws ClassNotFoundException, PolicyContextException(Code)
Create any JACC permissions for the ejb methods that were not explicitly assigned method-permission or exclude-list mappings.
Parameters:
  con - - the ejb container
Parameters:
  bean - - the bean metadata
throws:
  ClassNotFoundException -
throws:
  PolicyContextException -



createService
protected void createService() throws Exception(Code)



destroyService
protected void destroyService() throws Exception(Code)



getClassLoader
public ClassLoader getClassLoader()(Code)
Get the class loader of this deployment unit.



getContainer
public Container getContainer(String name)(Code)
Get a container from this deployment unit that corresponds to a given name
Parameters:
  name - ejb-name name defined in ejb-jar.xml container for the named bean, or null if the container wasnot found



getContainers
public Collection getContainers()(Code)
Get all containers in this deployment unit. a collection of containers for each enterprise bean in thisdeployment unit.



getLocalHome
public EJBLocalHome getLocalHome(Container con)(Code)



getModuleData
public Object getModuleData(Object key)(Code)



getModuleDataMap
public Map getModuleDataMap()(Code)



getURL
public URL getURL()(Code)
Get the URL from which this deployment unit was deployed The URL from which this Application was deployed.



isCallByValue
public boolean isCallByValue()(Code)
Whether the container is call by value true for call by value



putModuleData
public void putModuleData(Object key, Object value)(Code)



removeContainer
public void removeContainer(Container con)(Code)
Remove a container from this deployment unit.
Parameters:
  con -



removeLocalHome
public void removeLocalHome(Container con)(Code)



removeModuleData
public void removeModuleData(Object key)(Code)



setClassLoader
public void setClassLoader(ClassLoader cl)(Code)
Set the class loader of this deployment unit



startService
protected void startService() throws Exception(Code)
The mbean Service interface start method calls the start method on each contatiner, then the init method on each container. Conversion to a different registration system with one-phase startup is conceivable.
exception:
  Exception - if an error occurs



stopService
protected void stopService() throws Exception(Code)
Stops all the containers of this application.



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