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