1 23 package com.sun.enterprise.web.deploy; 24 25 import com.sun.enterprise.deployment.EjbReferenceDescriptor; 26 import org.apache.catalina.deploy.ContextLocalEjb; 27 28 29 34 35 public class ContextLocalEjbDecorator extends ContextLocalEjb{ 36 37 38 private EjbReferenceDescriptor decoree; 39 40 public ContextLocalEjbDecorator(EjbReferenceDescriptor decoree){ 41 this.decoree = decoree; 42 } 43 44 46 47 public String getDescription() { 48 return decoree.getDescription(); 49 } 50 51 52 public String getHome() { 53 return decoree.getEjbHomeInterface(); 54 } 55 56 57 public String getLink() { 58 return decoree.getLinkName(); 59 } 60 61 62 public String getLocal() { 63 return decoree.getEjbInterface(); 64 } 65 66 67 public String getName() { 68 return decoree.getName(); 69 } 70 71 72 public String getType() { 73 return decoree.getType(); 74 } 75 76 77 78 79 80 } 81 | Popular Tags |