Package com.caucho.config.inject.InjectScanManager

Examples of com.caucho.config.inject.InjectScanManager.AnnType


  @Override
  public void addClassAnnotation(char[] buffer, int offset, int length)
  {
    try {
      AnnType annType = _scanManager.loadAnnotation(buffer, offset, length);
     
      if (annType == null)
        return;
     
      if (_registerAnnotationSet.contains(annType.getType())) {
        if (annType.getType() == Observes.class)
          setObserves();
       
        _isRegisterRequired = true;
        return;
      }
     
      for (Annotation ann : annType.getAnnotations()) {
        Class<? extends Annotation> metaAnnType = ann.annotationType();
     
        if (metaAnnType == Stereotype.class) {
          _isRegisterRequired = true;
        }
View Full Code Here


  @Override
  public void addClassAnnotation(char[] buffer, int offset, int length)
  {
    try {
      AnnType annType = _scanManager.loadAnnotation(buffer, offset, length);
     
      if (annType == null)
        return;
     
      if (_registerAnnotationSet.contains(annType.getType())) {
        if (annType.getType() == Observes.class)
          setObserves();
       
        _isRegisterRequired = true;
        return;
      }
     
      for (Annotation ann : annType.getAnnotations()) {
        Class<? extends Annotation> metaAnnType = ann.annotationType();
     
        if (metaAnnType == Stereotype.class) {
          _isRegisterRequired = true;
        }
View Full Code Here

TOP

Related Classes of com.caucho.config.inject.InjectScanManager.AnnType

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.