Package com.caucho.ejb.session

Examples of com.caucho.ejb.session.SingletonManager


    if (Stateless.class.equals(getSessionType()))
      server = new StatelessManager(ejbContainer, getAnnotatedType());
    else if (Stateful.class.equals(getSessionType()))
      server = new StatefulManager(ejbContainer, getAnnotatedType());
    else if (Singleton.class.equals(getSessionType()))
      server = new SingletonManager(ejbContainer, getAnnotatedType());
    else
      throw new IllegalStateException(String.valueOf(getSessionType()));

    server.setModuleName(getEJBModuleName());
    server.setEJBName(getEJBName());
View Full Code Here

TOP

Related Classes of com.caucho.ejb.session.SingletonManager

Copyright © 2018 www.massapicom. 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.