Package br.com.caelum.vraptor.ioc.cdi

Examples of br.com.caelum.vraptor.ioc.cdi.ScopesUtil


  public void processAnnotatedType(final ProcessAnnotatedType pat) {
    final AnnotatedType defaultType = pat.getAnnotatedType();
    if (pat.getAnnotatedType().getJavaClass()
        .isAnnotationPresent(Component.class)) {
      builder.readFromType(defaultType);
      ScopesUtil registry = new ScopesUtil();
      ScopeInfo scopeInfoFromTheClass = registry.isScoped(defaultType
          .getJavaClass());
      if (!scopeInfoFromTheClass.hasScope()) {
        builder.addToClass(new ScopeInfo(RequestScoped.class)
            .getLiteral());
        AnnotatedType annotatedType = builder.create();
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.ioc.cdi.ScopesUtil

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.