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

StatefulSessionContainer
public class StatefulSessionContainer extends SessionContainer implements EJBProxyFactoryContainer,InstancePoolContainer(Code)
The container for stateful session beans.
author:
   Rickard �berg
author:
   Daniel OConnor
author:
   Marc Fleury
author:
   Scott Stark
author:
   Jason Dillon
author:
   Christoph G. Jung
version:
   $Revision: 57209 $

Inner Class :class ContainerInterceptor extends AbstractContainerInterceptor

Field Summary
protected  MethodgetEJBObject
    
protected  InstanceCacheinstanceCache
     The instance cache.
protected  StatefulSessionPersistenceManagerpersistenceManager
    


Method Summary
protected  InterceptorcreateContainerInterceptor()
    
public  EJBObjectcreateHome(Invocation mi)
    
protected  voidcreateInstanceCache()
    
public  EJBLocalObjectcreateLocalHome(Invocation mi)
    
protected  voidcreatePersistenceManager()
    
protected  voidcreateService()
    
protected  voiddestroyInstanceCache()
    
protected  voiddestroyPersistenceManager()
    
public  EJBObjectgetEJBObject(Invocation mi)
    
public  InstanceCachegetInstanceCache()
    
public  SetgetMethodPermissions(Method m, InvocationType iface)
     Override getMethodPermissions to work around the fact that stateful session handles obtain their ejb objects by doing an invocation on the container as a home method invocation using the Handle.getEJBObject method.
public  StatefulSessionPersistenceManagergetPersistenceManager()
    
public  voidremove(Invocation mi)
    
public  voidremoveHome(Invocation mi)
    
public  voidremoveLocalHome(Invocation mi)
    
public  voidsetInstanceCache(InstanceCache ic)
    
public  voidsetPersistenceManager(StatefulSessionPersistenceManager pm)
    
protected  voidsetupHomeMapping()
    
protected  voidstartInstanceCache()
    
protected  voidstartPersistenceManager()
    
protected  voidstopInstanceCache()
    
protected  voidstopPersistenceManager()
    

Field Detail
getEJBObject
protected Method getEJBObject(Code)



instanceCache
protected InstanceCache instanceCache(Code)
The instance cache.



persistenceManager
protected StatefulSessionPersistenceManager persistenceManager(Code)
This is the persistence manager for this container





Method Detail
createContainerInterceptor
protected Interceptor createContainerInterceptor()(Code)



createHome
public EJBObject createHome(Invocation mi) throws Exception(Code)



createInstanceCache
protected void createInstanceCache() throws Exception(Code)
creates and registers the instance cache



createLocalHome
public EJBLocalObject createLocalHome(Invocation mi) throws Exception(Code)



createPersistenceManager
protected void createPersistenceManager() throws Exception(Code)
create persistence manager



createService
protected void createService() throws Exception(Code)



destroyInstanceCache
protected void destroyInstanceCache()(Code)



destroyPersistenceManager
protected void destroyPersistenceManager()(Code)



getEJBObject
public EJBObject getEJBObject(Invocation mi) throws RemoteException(Code)
A method for the getEJBObject from the handle



getInstanceCache
public InstanceCache getInstanceCache()(Code)



getMethodPermissions
public Set getMethodPermissions(Method m, InvocationType iface)(Code)
Override getMethodPermissions to work around the fact that stateful session handles obtain their ejb objects by doing an invocation on the container as a home method invocation using the Handle.getEJBObject method.
Parameters:
  m -
Parameters:
  iface -



getPersistenceManager
public StatefulSessionPersistenceManager getPersistenceManager()(Code)



remove
public void remove(Invocation mi) throws RemoteException, RemoveException(Code)



removeHome
public void removeHome(Invocation mi) throws RemoteException, RemoveException(Code)

throws:
  Error - Not yet implemented



removeLocalHome
public void removeLocalHome(Invocation mi) throws RemoteException, RemoveException(Code)

throws:
  Error - Not yet implemented



setInstanceCache
public void setInstanceCache(InstanceCache ic)(Code)



setPersistenceManager
public void setPersistenceManager(StatefulSessionPersistenceManager pm)(Code)



setupHomeMapping
protected void setupHomeMapping() throws Exception(Code)



startInstanceCache
protected void startInstanceCache() throws Exception(Code)
Start instance cache



startPersistenceManager
protected void startPersistenceManager() throws Exception(Code)
Start persistence



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



stopPersistenceManager
protected void stopPersistenceManager()(Code)
Stop persistence



Fields inherited from org.jboss.ejb.SessionContainer
protected Map beanMapping(Code)(Java Doc)
protected Map homeMapping(Code)(Java Doc)
protected InstancePool instancePool(Code)(Java Doc)
protected Interceptor interceptor(Code)(Java Doc)
protected Class serviceEndpoint(Code)(Java Doc)

Methods inherited from org.jboss.ejb.SessionContainer
public void addInterceptor(Interceptor in)(Code)(Java Doc)
protected void checkCoherency() throws Exception(Code)(Java Doc)
protected void createInstanceCache() throws Exception(Code)(Java Doc)
protected void createInstancePool() throws Exception(Code)(Java Doc)
protected void createInterceptors() throws Exception(Code)(Java Doc)
protected void createInvokers() throws Exception(Code)(Java Doc)
protected void createPersistenceManager() throws Exception(Code)(Java Doc)
protected void createService() throws Exception(Code)(Java Doc)
protected void destroyInstanceCache()(Code)(Java Doc)
protected void destroyInstancePool()(Code)(Java Doc)
protected void destroyInterceptors()(Code)(Java Doc)
protected void destroyInvokers()(Code)(Java Doc)
protected void destroyMarshalledInvocationMapping()(Code)(Java Doc)
protected void destroyPersistenceManager()(Code)(Java Doc)
protected void destroyService() throws Exception(Code)(Java Doc)
protected Map getBeanMapping()(Code)(Java Doc)
public EJBHome getEJBHome(Invocation mi) throws RemoteException(Code)(Java Doc)
public EJBLocalHome getEJBLocalHome(Invocation mi)(Code)(Java Doc)
public EJBMetaData getEJBMetaDataHome(Invocation mi) throws RemoteException(Code)(Java Doc)
public EJBMetaData getEJBMetaDataHome() throws RemoteException(Code)(Java Doc)
public Handle getHandle(Invocation mi) throws RemoteException(Code)(Java Doc)
public HomeHandle getHomeHandleHome(Invocation mi) throws RemoteException(Code)(Java Doc)
public HomeHandle getHomeHandleHome() throws RemoteException(Code)(Java Doc)
protected Map getHomeMapping()(Code)(Java Doc)
public InstancePool getInstancePool()(Code)(Java Doc)
public Interceptor getInterceptor()(Code)(Java Doc)
public LocalProxyFactory getLocalProxyFactory()(Code)(Java Doc)
public Object getPrimaryKey(Invocation mi) throws RemoteException(Code)(Java Doc)
public Object getPrimaryKey() throws RemoteException(Code)(Java Doc)
public Class getServiceEndpoint()(Code)(Java Doc)
public Object internalInvoke(Invocation mi) throws Exception(Code)(Java Doc)
public Object internalInvokeHome(Invocation mi) throws Exception(Code)(Java Doc)
public boolean isIdentical(Invocation mi) throws RemoteException(Code)(Java Doc)
public void setInstancePool(InstancePool ip)(Code)(Java Doc)
protected void setUpBeanMappingImpl(Map map, Method[] methods, String declaringClass) throws NoSuchMethodException(Code)(Java Doc)
protected void setupBeanMapping() throws NoSuchMethodException(Code)(Java Doc)
abstract protected void setupHomeMapping() throws Exception(Code)(Java Doc)
protected void setupMarshalledInvocationMapping() throws Exception(Code)(Java Doc)
protected void startInstanceCache() throws Exception(Code)(Java Doc)
protected void startInstancePool() throws Exception(Code)(Java Doc)
protected void startInterceptors() throws Exception(Code)(Java Doc)
protected void startInvokers() throws Exception(Code)(Java Doc)
protected void startPersistenceManager() throws Exception(Code)(Java Doc)
protected void startService() throws Exception(Code)(Java Doc)
protected void stopInstanceCache()(Code)(Java Doc)
protected void stopInstancePool()(Code)(Java Doc)
protected void stopInterceptors()(Code)(Java Doc)
protected void stopInvokers()(Code)(Java Doc)
protected void stopPersistenceManager()(Code)(Java Doc)
protected void stopService() throws Exception(Code)(Java Doc)

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.