1 23 24 package com.sun.enterprise.deployment.runtime.web; 25 26 import com.sun.enterprise.deployment.runtime.RuntimeDescriptor; 27 28 35 public class Servlet extends RuntimeDescriptor 36 { 37 38 static public final String SERVLET_NAME = "ServletName"; static public final String PRINCIPAL_NAME = "PrincipalName"; 41 public void setServletName(String value) 43 { 44 this.setValue(SERVLET_NAME, value); 45 } 46 47 public String getServletName() 49 { 50 return (String )this.getValue(SERVLET_NAME); 51 } 52 53 public void setPrincipalName(String value) 55 { 56 this.setValue(PRINCIPAL_NAME, value); 57 } 58 59 public String getPrincipalName() 61 { 62 return (String )this.getValue(PRINCIPAL_NAME); 63 } 64 65 public boolean verify() 67 { 68 return true; 69 } 70 } 71 | Popular Tags |