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

All known Subclasses:   org.jboss.proxy.ejb.ProxyFactory,  org.jboss.ejb.plugins.jms.JMSContainerInvoker,  org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory,
EJBProxyFactory
public interface EJBProxyFactory extends GenericEntityObjectFactory,ContainerPlugin(Code)
This is an interface for Container plugins. Implementations of this interface are responsible for receiving remote invocations of EJB's and to forward these requests to the Container it is being used with.

It is responsible for providing any EJBObject and EJBHome implementations (which may be statically or dynamically created).

Before forwarding a call to the container it must call Thread.setContextClassLoader() with the classloader of the container. It must also handle any propagated transaction and security contexts properly. It may acquire the TransactionManager from JNDI.
See Also:   Container
author:
   Rickard �berg
author:
   Marc Fleury
version:
   $Revision: 57209 $
version:
  

20011219 marc fleury:
version:
  


    version:
      
  • Moved from typed return to Object to allow for optimizations in creation
    version:
      
  • Per Dain Sundstrom requests removed the Remote Exception.
    version:
      
  • The Container Invoker is going to be replaced by the ProxyFactory
    version:
      




Method Summary
 ObjectgetEJBHome()
     This method is called whenever the EJBHome implementation for this container is needed.
 EJBMetaDatagetEJBMetaData()
     This method is called whenever the metadata for this container is needed.
 CollectiongetEntityCollection(Collection en)
     This method is called whenever a collection of EJBObjects for a collection of primary keys is needed.
Parameters:
  en - Enumeration of primary keys.
 ObjectgetEntityEJBObject(Object id)
     This method is called whenever an EJBObject implementation for an entitybean is needed.
Parameters:
  id - The primary key of the entity.
 ObjectgetStatefulSessionEJBObject(Object id)
     This method is called whenever an EJBObject implementation for a stateful session bean is needed.
Parameters:
  id - The id of the session.
 ObjectgetStatelessSessionEJBObject()
     This method is called whenever an EJBObject implementation for a stateless session bean is needed.
 booleanisIdentical(Container container, Invocation mi)
    
 voidsetInvokerBinding(String binding)
    
 voidsetInvokerMetaData(InvokerProxyBindingMetaData imd)
    



Method Detail
getEJBHome
Object getEJBHome()(Code)
This method is called whenever the EJBHome implementation for this container is needed. An implementation of the home interface for this container.



getEJBMetaData
EJBMetaData getEJBMetaData()(Code)
This method is called whenever the metadata for this container is needed. An implementation of the EJBMetaData interface.



getEntityCollection
Collection getEntityCollection(Collection en)(Code)
This method is called whenever a collection of EJBObjects for a collection of primary keys is needed.
Parameters:
  en - Enumeration of primary keys. A collection of EJBObjects implementing the remoteinterface for this container.



getEntityEJBObject
Object getEntityEJBObject(Object id)(Code)
This method is called whenever an EJBObject implementation for an entitybean is needed.
Parameters:
  id - The primary key of the entity. An implementation of the remote interface for thiscontainer.



getStatefulSessionEJBObject
Object getStatefulSessionEJBObject(Object id)(Code)
This method is called whenever an EJBObject implementation for a stateful session bean is needed.
Parameters:
  id - The id of the session. An implementation of the remote interface for thiscontainer.



getStatelessSessionEJBObject
Object getStatelessSessionEJBObject()(Code)
This method is called whenever an EJBObject implementation for a stateless session bean is needed. An implementation of the remote interface for this container.



isIdentical
boolean isIdentical(Container container, Invocation mi)(Code)
Protocol specific isIdentical implementation
Parameters:
  container - the container
Parameters:
  mi - the invocation true when identical, false otherwise



setInvokerBinding
void setInvokerBinding(String binding)(Code)
Set the invoker jndi binding



setInvokerMetaData
void setInvokerMetaData(InvokerProxyBindingMetaData imd)(Code)
Set the invoker meta data so that the ProxyFactory can initialize properly



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