1 19 24 25 package org.netbeans.modules.j2ee.sun.dd.api.web; 26 27 import org.netbeans.modules.j2ee.sun.dd.api.common.WebserviceEndpoint; 28 29 public interface Servlet extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean { 30 31 public static final String SERVLET_NAME = "ServletName"; public static final String PRINCIPAL_NAME = "PrincipalName"; static public final String PRINCIPALNAMECLASSNAME = "PrincipalNameClassName"; public static final String WEBSERVICE_ENDPOINT = "WebserviceEndpoint"; 36 public void setServletName(String value); 37 public String getServletName(); 38 public void setPrincipalName(String value); 39 public String getPrincipalName(); 40 public void setPrincipalNameClassName(String value) throws org.netbeans.modules.j2ee.sun.dd.api.VersionNotSupportedException; 41 public String getPrincipalNameClassName() throws org.netbeans.modules.j2ee.sun.dd.api.VersionNotSupportedException; 42 43 public void setWebserviceEndpoint(int index, WebserviceEndpoint value); 44 public WebserviceEndpoint getWebserviceEndpoint(int index); 45 public int sizeWebserviceEndpoint(); 46 public void setWebserviceEndpoint(WebserviceEndpoint[] value); 47 public WebserviceEndpoint[] getWebserviceEndpoint(); 48 public int addWebserviceEndpoint(WebserviceEndpoint value); 49 public int removeWebserviceEndpoint(WebserviceEndpoint value); 50 public WebserviceEndpoint newWebserviceEndpoint(); 51 52 } 53 | Popular Tags |