1 25 26 package org.objectweb.easybeans.deployment.annotations.analyzer.classes; 27 28 import org.objectweb.easybeans.deployment.annotations.analyzer.AnnotationType; 29 import org.objectweb.easybeans.deployment.annotations.analyzer.ObjectAnnotationVisitor; 30 import org.objectweb.easybeans.deployment.annotations.metadata.ClassAnnotationMetadata; 31 32 37 public class JavaxAnnotationSecurityRunAs extends ObjectAnnotationVisitor<ClassAnnotationMetadata, String > implements 38 AnnotationType { 39 40 43 public static final String TYPE = "Ljavax/annotation/security/RunAs;"; 44 45 49 public JavaxAnnotationSecurityRunAs(final ClassAnnotationMetadata classAnnotationMetadata) { 50 super(classAnnotationMetadata); 51 } 52 53 57 @Override 58 public void visitEnd() { 59 getAnnotationMetadata().setRunAs(getValue()); 60 } 61 62 65 public String getType() { 66 return TYPE; 67 } 68 69 } 70 | Popular Tags |