org.ow2.jonas.deployment.web
Class ServletDesc
java.lang.Object
org.ow2.jonas.deployment.web.ServletDesc
public class ServletDesc
- extends Object
Defines a Servlet object.
It manages classname, security-role-ref and runas
- Author:
- Florent Benoit
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletDesc
public ServletDesc(Servlet servlet)
- Constructor : Build a new Servlet object
- Parameters:
servlet
- Servlet object
getServletRunAS
public RunAs getServletRunAS()
- Returns:
- the runas of the servlet
getServletName
public String getServletName()
- Returns:
- the name of the servlet
getServletClass
public String getServletClass()
- Returns:
- the class of the servlet
getSecurityRoleRefList
public List<SecurityRoleRefDesc> getSecurityRoleRefList()
- Gets the security-role-ref
- Returns:
- the security-role-ref
Copyright © 2010 OW2 Consortium. All Rights Reserved.