1 23 package com.sun.enterprise.deployment.annotation.context; 24 25 import java.lang.annotation.ElementType ; 26 import java.lang.reflect.AnnotatedElement ; 27 28 import com.sun.enterprise.deployment.EjbInterceptor; 29 30 35 public class EjbInterceptorContext extends ResourceContainerContextImpl { 36 public EjbInterceptorContext(EjbInterceptor ejbInterceptor) { 37 super(ejbInterceptor); 38 } 39 40 public EjbInterceptor getDescriptor() { 41 return (EjbInterceptor)descriptor; 42 } 43 44 public void setDescriptor(EjbInterceptor ejbInterceptor) { 45 descriptor = ejbInterceptor; 46 } 47 48 public void endElement(ElementType type, AnnotatedElement element) { 49 50 if (ElementType.TYPE.equals(type)) { 51 getProcessingContext().popHandler(); 53 } 54 } 55 } 56 | Popular Tags |