Examples of SessionContextImpl


Examples of org.jboss.as.ejb3.context.SessionContextImpl

    public SessionContextImpl getEjbContext() {
        if (sessionContext == null) {
            synchronized (this) {
                if (sessionContext == null) {
                    this.sessionContext = new SessionContextImpl(this);
                }
            }
        }
        return sessionContext;
    }
View Full Code Here

Examples of org.jboss.as.ejb3.context.SessionContextImpl

    @Override
    public SessionContextImpl getEjbContext() {
        if (sessionContext == null) {
            synchronized (this) {
                if (sessionContext == null) {
                    this.sessionContext = new SessionContextImpl(this);
                }
            }
        }
        return sessionContext;
    }
View Full Code Here

Examples of org.jboss.as.ejb3.context.SessionContextImpl

    public SessionContextImpl getEjbContext() {
        if (sessionContext == null) {
            synchronized (this) {
                if (sessionContext == null) {
                    this.sessionContext = new SessionContextImpl(this);
                }
            }
        }
        return sessionContext;
    }
View Full Code Here

Examples of org.jboss.ejb3.session.SessionContextImpl

  
   public StatefulSessionContextImpl(SessionBeanContext beanContext)
   {
      assert beanContext != null : "beanContext is null";
     
      this.delegate = new SessionContextImpl(beanContext);
      this.containerGuid = Ejb3Registry.guid(beanContext.getContainer());
      this.containerClusterUid =Ejb3Registry.clusterUid(beanContext.getContainer());
      this.id = beanContext.getId();
      this.isClustered = beanContext.getContainer().isClustered();
   }
View Full Code Here

Examples of org.jboss.ejb3.session.SessionContextImpl

      {
         StatefulContainer container = (StatefulContainer)Ejb3Registry.getContainer(containerGuid);
         if (container == null && isClustered)
            container = (StatefulContainer)Ejb3Registry.getClusterContainer(containerClusterUid);
        
         delegate = new SessionContextImpl(container.getCache().get(id, false));
      }
      return delegate;
   }
View Full Code Here

Examples of org.jboss.ejb3.session.SessionContextImpl

/*     */
/*     */   public StatefulSessionContextImpl(SessionBeanContext beanContext)
/*     */   {
/* 100 */     assert (beanContext != null) : "beanContext is null";
/*     */
/* 102 */     this.delegate = new SessionContextImpl(beanContext);
/* 103 */     this.containerGuid = Ejb3Registry.guid(beanContext.getContainer());
/* 104 */     this.containerClusterUid = Ejb3Registry.clusterUid(beanContext.getContainer());
/* 105 */     this.id = beanContext.getId();
/* 106 */     this.isClustered = ((SessionContainer)beanContext.getContainer()).isClustered();
/*     */   }
View Full Code Here

Examples of org.jboss.ejb3.session.SessionContextImpl

/*     */     {
/* 128 */       StatefulContainer container = (StatefulContainer)Ejb3Registry.getContainer(this.containerGuid);
/* 129 */       if ((container == null) && (this.isClustered)) {
/* 130 */         container = (StatefulContainer)Ejb3Registry.getClusterContainer(this.containerClusterUid);
/*     */       }
/* 132 */       this.delegate = new SessionContextImpl(container.getCache().get(this.id, false));
/*     */     }
/* 134 */     return this.delegate;
/*     */   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.