1 23 package com.sun.enterprise.web.deploy; 24 25 import org.apache.catalina.deploy.MessageDestinationRef; 26 import com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor; 27 28 import java.io.Serializable ; 29 30 31 36 37 public final class MessageDestinationRefDecorator extends MessageDestinationRef { 38 39 private MessageDestinationReferenceDescriptor decoree; 40 41 public MessageDestinationRefDecorator( 42 MessageDestinationReferenceDescriptor decoree){ 43 this.decoree = decoree; 44 } 45 46 48 public String getDescription() { 49 return decoree.getDescription(); 50 } 51 52 53 public String getLink() { 54 return decoree.getMessageDestinationLinkName(); 55 } 56 57 58 public String getName() { 59 return decoree.getName(); 60 } 61 62 public String getType() { 63 return decoree.getDestinationType(); 64 } 65 66 67 public String getUsage() { 68 return decoree.getUsage(); 69 } 70 71 72 } 73 | Popular Tags |