public SessionBeanType getSessionBeanType() { checkWithinObserverNotification(); if (getBean().getEjbDescriptor().isStateless()) { return SessionBeanType.STATELESS; } else if (getBean().getEjbDescriptor().isStateful()) { return SessionBeanType.STATEFUL; } else if (getBean().getEjbDescriptor().isSingleton()) { return SessionBeanType.SINGLETON; } else { throw BootstrapLogger.LOG.beanTypeNotEjb(getBean()); } }
public SessionBeanType getSessionBeanType() { checkWithinObserverNotification(); if (getBean().getEjbDescriptor().isStateless()) { return SessionBeanType.STATELESS; } else if (getBean().getEjbDescriptor().isStateful()) { return SessionBeanType.STATEFUL; } else if (getBean().getEjbDescriptor().isSingleton()) { return SessionBeanType.SINGLETON; } else { throw BootstrapLogger.LOG.beanTypeNotEjb(getBean()); } }
public SessionBeanType getSessionBeanType() { checkWithinObserverNotification(); if (getBean().getEjbDescriptor().isStateless()) { return SessionBeanType.STATELESS; } else if (getBean().getEjbDescriptor().isStateful()) { return SessionBeanType.STATEFUL; } else if (getBean().getEjbDescriptor().isSingleton()) { return SessionBeanType.SINGLETON; } else { throw BootstrapLogger.LOG.beanTypeNotEjb(getBean()); } }
public SessionBeanType getSessionBeanType() { checkWithinObserverNotification(); if (getBean().getEjbDescriptor().isStateless()) { return SessionBeanType.STATELESS; } else if (getBean().getEjbDescriptor().isStateful()) { return SessionBeanType.STATEFUL; } else if (getBean().getEjbDescriptor().isSingleton()) { return SessionBeanType.SINGLETON; } else { throw BootstrapLogger.LOG.beanTypeNotEjb(getBean()); } }
public SessionBeanType getSessionBeanType() { checkWithinObserverNotification(); if (getBean().getEjbDescriptor().isStateless()) { return SessionBeanType.STATELESS; } else if (getBean().getEjbDescriptor().isStateful()) { return SessionBeanType.STATEFUL; } else if (getBean().getEjbDescriptor().isSingleton()) { return SessionBeanType.SINGLETON; } else { throw BootstrapLogger.LOG.beanTypeNotEjb(getBean()); } }
public SessionBeanType getSessionBeanType() { checkWithinObserverNotification(); if (getBean().getEjbDescriptor().isStateless()) { return SessionBeanType.STATELESS; } else if (getBean().getEjbDescriptor().isStateful()) { return SessionBeanType.STATEFUL; } else if (getBean().getEjbDescriptor().isSingleton()) { return SessionBeanType.SINGLETON; } else { throw BootstrapLogger.LOG.beanTypeNotEjb(getBean()); } }