Package com.caucho.config.j2ee

Examples of com.caucho.config.j2ee.BeanNameLiteral


  private <T> void registerLocalSession(InjectManager beanManager,
                                        Class<T> localApi)
  {
    AbstractSessionContext<X,T> context = getSessionContext(localApi);
     
    BeanName beanName = new BeanNameLiteral(getEJBName());

    SessionRegistrationBean<X,T> regBean
      = new SessionRegistrationBean<X,T>(beanManager, context, _bean, beanName);
     
    beanManager.addBeanImpl(regBean, regBean.getAnnotated());
View Full Code Here


    InjectManager injectManager = InjectManager.getCurrent();
   
    Set<Bean<?>> beans = null;
   
    if (getEjbLink() != null)
      beans = injectManager.getBeans(_type, new BeanNameLiteral(getEjbLink()));
   
    if (beans == null || beans.size() == 0)
      beans = injectManager.getBeans(_type);
   
    Bean<?> bean;
View Full Code Here

TOP

Related Classes of com.caucho.config.j2ee.BeanNameLiteral

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.