1 25 26 27 package org.objectweb.easybeans.deployment.annotations.analyzer.classes; 28 29 import org.objectweb.asm.Type; 30 31 import org.objectweb.easybeans.deployment.annotations.analyzer.AnnotationType; 32 import org.objectweb.easybeans.deployment.annotations.analyzer.ObjectAnnotationVisitor; 33 import org.objectweb.easybeans.deployment.annotations.metadata.ClassAnnotationMetadata; 34 35 39 public class JavaxEjbRemoteHomeVisitor extends ObjectAnnotationVisitor<ClassAnnotationMetadata, Type> implements AnnotationType { 40 41 44 public static final String TYPE = "Ljavax/ejb/RemoteHome;"; 45 46 50 public JavaxEjbRemoteHomeVisitor(final ClassAnnotationMetadata classAnnotationMetadata) { 51 super(classAnnotationMetadata); 52 } 53 54 58 @Override 59 public void visitEnd() { 60 Type t = getValue(); 61 String className = t.getInternalName(); 62 getAnnotationMetadata().setRemoteHome(className); 63 } 64 65 68 public String getType() { 69 return TYPE; 70 } 71 72 } 73 | Popular Tags |