Package de.xima.fc.portal.model
Class PortalServletWrapper
- java.lang.Object
-
- de.xima.fc.portal.model.PortalServletWrapper
-
- All Implemented Interfaces:
javax.servlet.Servlet
public class PortalServletWrapper extends Object implements javax.servlet.Servlet
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PortalServletWrapper(Class<? extends javax.servlet.Servlet> wrappedClass, javax.servlet.annotation.WebServlet annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
javax.servlet.annotation.WebServlet
getAnnotation()
String
getName()
javax.servlet.ServletConfig
getServletConfig()
String
getServletInfo()
String[]
getUrlMappings()
javax.servlet.Servlet
getWrapped()
void
init(javax.servlet.ServletConfig config)
void
service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
-
-
-
Constructor Detail
-
PortalServletWrapper
public PortalServletWrapper(Class<? extends javax.servlet.Servlet> wrappedClass, javax.servlet.annotation.WebServlet annotation)
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interfacejavax.servlet.Servlet
-
service
public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException
- Specified by:
service
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
-
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interfacejavax.servlet.Servlet
-
getAnnotation
public javax.servlet.annotation.WebServlet getAnnotation()
- Returns:
- the annotation
-
getUrlMappings
public String[] getUrlMappings()
-
getWrapped
public javax.servlet.Servlet getWrapped()
-
getName
public String getName()
- Returns:
- The name of this portal servlet, taken from the annotation.
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Servlet
-
-