Java Doc for SessionContainer.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.Container
   org.jboss.ejb.SessionContainer

All known Subclasses:   org.jboss.ejb.StatefulSessionContainer,  org.jboss.ejb.StatelessSessionContainer,
SessionContainer
abstract public class SessionContainer extends Container (Code)

Container dedicated to session beans. Contains factored out redundancies between stateless and stateful treatments, because (extending the spec) we would like to also support stateful web services.


author:
   Christoph G. Jung
version:
   $Revision: 57209 $
since:
   30.10.2003


Field Summary
protected  MapbeanMapping
     These are the mappings between the remote interface methods and the bean methods.
protected  MaphomeMapping
     These are the mappings between the home interface methods and the container methods.
protected  InstancePoolinstancePool
    
protected  Interceptorinterceptor
     This is the first interceptor in the chain.
protected  ClassserviceEndpoint
    


Method Summary
public  voidaddInterceptor(Interceptor in)
    
protected  voidcheckCoherency()
    
protected  voidcreateInstanceCache()
    
protected  voidcreateInstancePool()
    
protected  voidcreateInterceptors()
    
protected  voidcreateInvokers()
    
protected  voidcreatePersistenceManager()
    
protected  voidcreateService()
    
protected  voiddestroyInstanceCache()
    
protected  voiddestroyInstancePool()
    
protected  voiddestroyInterceptors()
    
protected  voiddestroyInvokers()
    
protected  voiddestroyMarshalledInvocationMapping()
    
protected  voiddestroyPersistenceManager()
    
protected  voiddestroyService()
    
protected  MapgetBeanMapping()
    
public  EJBHomegetEJBHome(Invocation mi)
    
public  EJBLocalHomegetEJBLocalHome(Invocation mi)
    
public  EJBMetaDatagetEJBMetaDataHome(Invocation mi)
    
public  EJBMetaDatagetEJBMetaDataHome()
    
public  HandlegetHandle(Invocation mi)
    
public  HomeHandlegetHomeHandleHome(Invocation mi)
    
public  HomeHandlegetHomeHandleHome()
    
protected  MapgetHomeMapping()
    
public  InstancePoolgetInstancePool()
    
public  InterceptorgetInterceptor()
    
public  LocalProxyFactorygetLocalProxyFactory()
    
public  ObjectgetPrimaryKey(Invocation mi)
    
public  ObjectgetPrimaryKey()
    
public  ClassgetServiceEndpoint()
    
public  ObjectinternalInvoke(Invocation mi)
    
public  ObjectinternalInvokeHome(Invocation mi)
    
public  booleanisIdentical(Invocation mi)
    
public  voidsetInstancePool(InstancePool ip)
    
protected  voidsetUpBeanMappingImpl(Map map, Method[] methods, String declaringClass)
    
protected  voidsetupBeanMapping()
    
abstract protected  voidsetupHomeMapping()
    
protected  voidsetupMarshalledInvocationMapping()
    
protected  voidstartInstanceCache()
    
protected  voidstartInstancePool()
    
protected  voidstartInterceptors()
    
protected  voidstartInvokers()
    
protected  voidstartPersistenceManager()
    
protected  voidstartService()
    
protected  voidstopInstanceCache()
    
protected  voidstopInstancePool()
    
protected  voidstopInterceptors()
    
protected  voidstopInvokers()
    
protected  voidstopPersistenceManager()
    
protected  voidstopService()
    

Field Detail
beanMapping
protected Map beanMapping(Code)
These are the mappings between the remote interface methods and the bean methods.



homeMapping
protected Map homeMapping(Code)
These are the mappings between the home interface methods and the container methods.



instancePool
protected InstancePool instancePool(Code)
This is the instancepool that is to be used



interceptor
protected Interceptor interceptor(Code)
This is the first interceptor in the chain. The last interceptor must be provided by the container itself



serviceEndpoint
protected Class serviceEndpoint(Code)
this is the service endpoint class





Method Detail
addInterceptor
public void addInterceptor(Interceptor in)(Code)
add an additional interceptor to the chain



checkCoherency
protected void checkCoherency() throws Exception(Code)



createInstanceCache
protected void createInstanceCache() throws Exception(Code)
no instance cache per default



createInstancePool
protected void createInstancePool() throws Exception(Code)
creates a new instance pool



createInterceptors
protected void createInterceptors() throws Exception(Code)
Initialize the interceptors by calling the chain



createInvokers
protected void createInvokers() throws Exception(Code)
creates the invokers



createPersistenceManager
protected void createPersistenceManager() throws Exception(Code)
no persistence manager per default



createService
protected void createService() throws Exception(Code)



destroyInstanceCache
protected void destroyInstanceCache()(Code)



destroyInstancePool
protected void destroyInstancePool()(Code)



destroyInterceptors
protected void destroyInterceptors()(Code)



destroyInvokers
protected void destroyInvokers()(Code)



destroyMarshalledInvocationMapping
protected void destroyMarshalledInvocationMapping()(Code)



destroyPersistenceManager
protected void destroyPersistenceManager()(Code)



destroyService
protected void destroyService() throws Exception(Code)



getBeanMapping
protected Map getBeanMapping()(Code)
needed for sub-inner-class access (old jdk compiler bug)



getEJBHome
public EJBHome getEJBHome(Invocation mi) throws RemoteException(Code)



getEJBLocalHome
public EJBLocalHome getEJBLocalHome(Invocation mi)(Code)



getEJBMetaDataHome
public EJBMetaData getEJBMetaDataHome(Invocation mi) throws RemoteException(Code)



getEJBMetaDataHome
public EJBMetaData getEJBMetaDataHome() throws RemoteException(Code)



getHandle
public Handle getHandle(Invocation mi) throws RemoteException(Code)
While the following methods are implemented in the client in the case of JRMP we would need to implement them to fully support other transport protocols Always null



getHomeHandleHome
public HomeHandle getHomeHandleHome(Invocation mi) throws RemoteException(Code)



getHomeHandleHome
public HomeHandle getHomeHandleHome() throws RemoteException(Code)



getHomeMapping
protected Map getHomeMapping()(Code)
needed for sub-inner-class access (old jdk compiler bug)



getInstancePool
public InstancePool getInstancePool()(Code)
return instance pool



getInterceptor
public Interceptor getInterceptor()(Code)
return first interceptor



getLocalProxyFactory
public LocalProxyFactory getLocalProxyFactory()(Code)
return local proxy factory



getPrimaryKey
public Object getPrimaryKey(Invocation mi) throws RemoteException(Code)



getPrimaryKey
public Object getPrimaryKey() throws RemoteException(Code)



getServiceEndpoint
public Class getServiceEndpoint()(Code)
return service endpoint



internalInvoke
public Object internalInvoke(Invocation mi) throws Exception(Code)
This method does invocation interpositioning of tx and security, retrieves the instance from an object table, and invokes the method on the particular instance



internalInvokeHome
public Object internalInvokeHome(Invocation mi) throws Exception(Code)



isIdentical
public boolean isIdentical(Invocation mi) throws RemoteException(Code)
Always false



setInstancePool
public void setInstancePool(InstancePool ip)(Code)
set the instance pool



setUpBeanMappingImpl
protected void setUpBeanMappingImpl(Map map, Method[] methods, String declaringClass) throws NoSuchMethodException(Code)
loop through methods and setup mapping



setupBeanMapping
protected void setupBeanMapping() throws NoSuchMethodException(Code)
build bean mappings for application logic



setupHomeMapping
abstract protected void setupHomeMapping() throws Exception(Code)
how home methods are treated by container



setupMarshalledInvocationMapping
protected void setupMarshalledInvocationMapping() throws Exception(Code)
sets up marshalled invocation mappings
throws:
  Exception -



startInstanceCache
protected void startInstanceCache() throws Exception(Code)
no instance cache per default



startInstancePool
protected void startInstancePool() throws Exception(Code)
Start pool



startInterceptors
protected void startInterceptors() throws Exception(Code)
Start all interceptors in the chain *



startInvokers
protected void startInvokers() throws Exception(Code)
Start container invokers



startPersistenceManager
protected void startPersistenceManager() throws Exception(Code)
no persistence manager per default



startService
protected void startService() throws Exception(Code)



stopInstanceCache
protected void stopInstanceCache()(Code)
no instance cache



stopInstancePool
protected void stopInstancePool()(Code)
Stop pool



stopInterceptors
protected void stopInterceptors()(Code)
Stop all interceptors in the chain



stopInvokers
protected void stopInvokers()(Code)
Stop container invoker



stopPersistenceManager
protected void stopPersistenceManager()(Code)
no persistence



stopService
protected void stopService() throws Exception(Code)



Fields inherited from org.jboss.ejb.Container
final public static String BASE_EJB_CONTAINER_NAME(Code)(Java Doc)
final protected static Method EJBOBJECT_REMOVE(Code)(Java Doc)
final public static ObjectName EJB_CONTAINER_QUERY_NAME(Code)(Java Doc)
final protected static Method EJB_TIMEOUT(Code)(Java Doc)
final public static ObjectName ORB_NAME(Code)(Java Doc)
protected Class beanClass(Code)(Java Doc)
protected ClassLoader classLoader(Code)(Java Doc)
protected long createCount(Code)(Java Doc)
protected EjbModule ejbModule(Code)(Java Doc)
protected Class homeInterface(Code)(Java Doc)
protected InvocationStatistics invokeStats(Code)(Java Doc)
protected boolean isJaccEnabled(Code)(Java Doc)
protected String jaccContextID(Code)(Java Doc)
protected ClassLoader localClassLoader(Code)(Java Doc)
protected Class localHomeInterface(Code)(Java Doc)
protected Class localInterface(Code)(Java Doc)
protected LocalProxyFactory localProxyFactory(Code)(Java Doc)
protected BeanLockManager lockManager(Code)(Java Doc)
protected Map marshalledInvocationMapping(Code)(Java Doc)
protected BeanMetaData metaData(Code)(Java Doc)
protected HashMap proxyFactories(Code)(Java Doc)
protected ThreadLocal proxyFactoryTL(Code)(Java Doc)
protected Class remoteInterface(Code)(Java Doc)
protected long removeCount(Code)(Java Doc)
protected RealmMapping rm(Code)(Java Doc)
protected Object securityProxy(Code)(Java Doc)
protected AuthenticationManager sm(Code)(Java Doc)
protected TransactionManager tm(Code)(Java Doc)
protected ClassLoader webClassLoader(Code)(Java Doc)

Methods inherited from org.jboss.ejb.Container
abstract public void addInterceptor(Interceptor in)(Code)(Java Doc)
public void addProxyFactory(String invokerBinding, EJBProxyFactory factory)(Code)(Java Doc)
public Object createBeanClassInstance() throws Exception(Code)(Java Doc)
abstract Interceptor createContainerInterceptor()(Code)(Java Doc)
protected void createService() throws Exception(Code)(Java Doc)
protected void destroyService() throws Exception(Code)(Java Doc)
public Class getBeanClass()(Code)(Java Doc)
public BeanMetaData getBeanMetaData()(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
public long getCreateCount()(Code)(Java Doc)
final public DeploymentInfo getDeploymentInfo()(Code)(Java Doc)
public EjbModule getEjbModule()(Code)(Java Doc)
public Context getEnvContext() throws NamingException(Code)(Java Doc)
public Class getHomeClass()(Code)(Java Doc)
public InvocationStatistics getInvokeStats()(Code)(Java Doc)
public String getJaccContextID()(Code)(Java Doc)
public ObjectName getJmxName()(Code)(Java Doc)
public Class getLocalClass()(Code)(Java Doc)
public ClassLoader getLocalClassLoader()(Code)(Java Doc)
public Class getLocalHomeClass()(Code)(Java Doc)
public BeanLockManager getLockManager()(Code)(Java Doc)
public MessageDestinationMetaData getMessageDestination(String link)(Code)(Java Doc)
public Set getMethodPermissions(Method m, InvocationType iface)(Code)(Java Doc)
public EJBProxyFactory getProxyFactory()(Code)(Java Doc)
public RealmMapping getRealmMapping()(Code)(Java Doc)
public Class getRemoteClass()(Code)(Java Doc)
public long getRemoveCount()(Code)(Java Doc)
public AuthenticationManager getSecurityManager()(Code)(Java Doc)
public Object getSecurityProxy()(Code)(Java Doc)
public TimerService getTimerService(Object pKey) throws IllegalStateException(Code)(Java Doc)
public TransactionManager getTransactionManager()(Code)(Java Doc)
public ClassLoader getWebClassLoader()(Code)(Java Doc)
abstract public Object internalInvoke(Invocation mi) throws Exception(Code)(Java Doc)
abstract public Object internalInvokeHome(Invocation mi) throws Exception(Code)(Java Doc)
public Object invoke(Invocation mi) throws Exception(Code)(Java Doc)
public boolean isCallByValue()(Code)(Java Doc)
public boolean isJaccEnabled()(Code)(Java Doc)
public EJBProxyFactory lookupProxyFactory(String binding)(Code)(Java Doc)
public void removeTimerService(Object pKey) throws IllegalStateException(Code)(Java Doc)
protected void restoreTimers()(Code)(Java Doc)
public void setBeanMetaData(BeanMetaData metaData)(Code)(Java Doc)
public void setClassLoader(ClassLoader cl)(Code)(Java Doc)
final public void setDeploymentInfo(DeploymentInfo di)(Code)(Java Doc)
public void setEjbModule(EjbModule app)(Code)(Java Doc)
public void setJaccContextID(String id)(Code)(Java Doc)
public void setJaccEnabled(boolean isJaccEnabled)(Code)(Java Doc)
public void setLocalClassLoader(ClassLoader cl)(Code)(Java Doc)
public void setLockManager(BeanLockManager lockManager)(Code)(Java Doc)
public void setProxyFactory(Object factory)(Code)(Java Doc)
public void setRealmMapping(RealmMapping rm)(Code)(Java Doc)
public void setSecurityManager(AuthenticationManager sm)(Code)(Java Doc)
public void setSecurityProxy(Object proxy)(Code)(Java Doc)
public void setTransactionManager(TransactionManager tm)(Code)(Java Doc)
public void setWebClassLoader(ClassLoader webClassLoader)(Code)(Java Doc)
protected void startService() throws Exception(Code)(Java Doc)
protected void stopService() throws Exception(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.