org.ow2.jonas.deployment.web
Class ServletDesc

java.lang.Object
  extended by 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

Constructor Summary
ServletDesc(Servlet servlet)
          Constructor : Build a new Servlet object
 
Method Summary
 List<SecurityRoleRefDesc> getSecurityRoleRefList()
          Gets the security-role-ref
 String getServletClass()
           
 String getServletName()
           
 RunAs getServletRunAS()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletDesc

public ServletDesc(Servlet servlet)
Constructor : Build a new Servlet object

Parameters:
servlet - Servlet object
Method Detail

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.