com.sun.grizzly.http.webxml.schema.version_2_3
Class Servlet

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_2_3.Servlet
All Implemented Interfaces:
Serializable

public class Servlet
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  Description description
           
protected  DisplayName displayName
           
protected  Icon icon
           
protected  String id
           
protected  List<InitParam> initParam
           
protected  LoadOnStartup loadOnStartup
           
protected  RunAs runAs
           
protected  List<SecurityRoleRef> securityRoleRef
           
protected  List<Object> servletClassOrJspFile
           
protected  ServletName servletName
           
 
Constructor Summary
Servlet()
           
 
Method Summary
 void addVetoableChangeListener(String param0, VetoableChangeListener param1)
           
 void addVetoableChangeListener(VetoableChangeListener param0)
           
 Description getDescription()
          Gets the value of the description property.
 DisplayName getDisplayName()
          Gets the value of the displayName property.
 Icon getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 List<InitParam> getInitParam()
          Gets the value of the initParam property.
 LoadOnStartup getLoadOnStartup()
          Gets the value of the loadOnStartup property.
 RunAs getRunAs()
          Gets the value of the runAs property.
 List<SecurityRoleRef> getSecurityRoleRef()
          Gets the value of the securityRoleRef property.
 List<Object> getServletClassOrJspFile()
          Gets the value of the servletClassOrJspFile property.
 ServletName getServletName()
          Gets the value of the servletName property.
 void removeVetoableChangeListener(String param0, VetoableChangeListener param1)
           
 void removeVetoableChangeListener(VetoableChangeListener param0)
           
 void setDescription(Description value)
          Sets the value of the description property.
 void setDisplayName(DisplayName value)
          Sets the value of the displayName property.
 void setIcon(Icon value)
          Sets the value of the icon property.
 void setId(String value)
          Sets the value of the id property.
 void setLoadOnStartup(LoadOnStartup value)
          Sets the value of the loadOnStartup property.
 void setRunAs(RunAs value)
          Sets the value of the runAs property.
 void setServletName(ServletName value)
          Sets the value of the servletName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

icon

protected Icon icon

servletName

protected ServletName servletName

displayName

protected DisplayName displayName

description

protected Description description

servletClassOrJspFile

protected List<Object> servletClassOrJspFile

initParam

protected List<InitParam> initParam

loadOnStartup

protected LoadOnStartup loadOnStartup

runAs

protected RunAs runAs

securityRoleRef

protected List<SecurityRoleRef> securityRoleRef
Constructor Detail

Servlet

public Servlet()
Method Detail

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getIcon

public Icon getIcon()
Gets the value of the icon property.

Returns:
possible object is Icon

setIcon

public void setIcon(Icon value)
Sets the value of the icon property.

Parameters:
value - allowed object is Icon

getServletName

public ServletName getServletName()
Gets the value of the servletName property.

Returns:
possible object is ServletName

setServletName

public void setServletName(ServletName value)
Sets the value of the servletName property.

Parameters:
value - allowed object is ServletName

getDisplayName

public DisplayName getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is DisplayName

setDisplayName

public void setDisplayName(DisplayName value)
Sets the value of the displayName property.

Parameters:
value - allowed object is DisplayName

getDescription

public Description getDescription()
Gets the value of the description property.

Returns:
possible object is Description

setDescription

public void setDescription(Description value)
Sets the value of the description property.

Parameters:
value - allowed object is Description

getServletClassOrJspFile

public List<Object> getServletClassOrJspFile()
Gets the value of the servletClassOrJspFile property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the servletClassOrJspFile property.

For example, to add a new item, do as follows:

    getServletClassOrJspFile().add(newItem);
 

Objects of the following type(s) are allowed in the list ServletClass JspFile


getInitParam

public List<InitParam> getInitParam()
Gets the value of the initParam property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the initParam property.

For example, to add a new item, do as follows:

    getInitParam().add(newItem);
 

Objects of the following type(s) are allowed in the list InitParam


getLoadOnStartup

public LoadOnStartup getLoadOnStartup()
Gets the value of the loadOnStartup property.

Returns:
possible object is LoadOnStartup

setLoadOnStartup

public void setLoadOnStartup(LoadOnStartup value)
Sets the value of the loadOnStartup property.

Parameters:
value - allowed object is LoadOnStartup

getRunAs

public RunAs getRunAs()
Gets the value of the runAs property.

Returns:
possible object is RunAs

setRunAs

public void setRunAs(RunAs value)
Sets the value of the runAs property.

Parameters:
value - allowed object is RunAs

getSecurityRoleRef

public List<SecurityRoleRef> getSecurityRoleRef()
Gets the value of the securityRoleRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the securityRoleRef property.

For example, to add a new item, do as follows:

    getSecurityRoleRef().add(newItem);
 

Objects of the following type(s) are allowed in the list SecurityRoleRef


addVetoableChangeListener

public void addVetoableChangeListener(VetoableChangeListener param0)

addVetoableChangeListener

public void addVetoableChangeListener(String param0,
                                      VetoableChangeListener param1)

removeVetoableChangeListener

public void removeVetoableChangeListener(String param0,
                                         VetoableChangeListener param1)

removeVetoableChangeListener

public void removeVetoableChangeListener(VetoableChangeListener param0)


Copyright © 2012 Oracle Corporation. All Rights Reserved.