Package com.caucho.config

Examples of com.caucho.config.AdminLiteral


 
  @SuppressWarnings("unchecked")
  private Bean<Authenticator> findAuthenticator(InjectManager cdiManager)
  {
    Set<Bean<?>> beans = cdiManager.getBeans(Authenticator.class,
                                             new AdminLiteral());
  
    if (beans.size() > 0) {
      return (Bean<Authenticator>) cdiManager.resolve(beans);
    }
   
View Full Code Here


        BeanBuilder<?> factory = cdiManager.createBeanFactory(Authenticator.class);
        factory.type(Authenticator.class);
        factory.type(AdminAuthenticator.class);
       
        factory.qualifier(DefaultLiteral.DEFAULT);
        factory.qualifier(new AdminLiteral());

        cdiManager.addBean(factory.singleton(_auth));
      }

      if (_transactionManager != null)
View Full Code Here

TOP

Related Classes of com.caucho.config.AdminLiteral

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.