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