org.xcmis.wssoap.impl.server
Class CmisSoapServletExt

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.cxf.transport.servlet.AbstractCXFServlet
              extended by org.apache.cxf.transport.servlet.CXFNonSpringServlet
                  extended by org.xcmis.wssoap.impl.server.CmisSoapServletExt
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class CmisSoapServletExt
extends org.apache.cxf.transport.servlet.CXFNonSpringServlet

Created by The eXo Platform SAS.

Version:
$Id: CmisSoapServletExt.java 2 2010-02-04 17:21:49Z andrew00x $ Sep 17, 2008
Author:
Alexey Zavizionov
See Also:
Serialized Form

Field Summary
protected  ServletConfig config
          The filter configuration
protected  String servletContextName
          The Servlet context name
 
Fields inherited from class org.apache.cxf.transport.servlet.AbstractCXFServlet
bus, controller, servletTransportFactory
 
Constructor Summary
CmisSoapServletExt()
           
 
Method Summary
protected  void afterInit(ServletConfig config)
          Allows sub-classes to initialize
protected  org.exoplatform.container.ExoContainer getContainer()
           
 void init(ServletConfig config)
          
 void loadBus(ServletConfig servletConfig)
          Load bus.
protected  void onService(org.exoplatform.container.ExoContainer container)
          Allow the sub classes to execute a task when the method service is called
protected  boolean requirePortalEnvironment()
          Indicates if it requires that a full portal environment must be set
 
Methods inherited from class org.apache.cxf.transport.servlet.CXFNonSpringServlet
getLogger
 
Methods inherited from class org.apache.cxf.transport.servlet.AbstractCXFServlet
createServletController, createServletTransportFactory, destroy, doDelete, doGet, doPost, doPut, getBus, getController, replaceDestinationFactory
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected ServletConfig config
The filter configuration


servletContextName

protected String servletContextName
The Servlet context name

Constructor Detail

CmisSoapServletExt

public CmisSoapServletExt()
Method Detail

init

public final void init(ServletConfig config)
                throws ServletException

Specified by:
init in interface Servlet
Overrides:
init in class org.apache.cxf.transport.servlet.AbstractCXFServlet
Throws:
ServletException

afterInit

protected void afterInit(ServletConfig config)
                  throws ServletException
Allows sub-classes to initialize

Parameters:
config - the current servlet configuration
Throws:
ServletException

loadBus

public void loadBus(ServletConfig servletConfig)
             throws ServletException
Load bus.

Overrides:
loadBus in class org.apache.cxf.transport.servlet.CXFNonSpringServlet
Parameters:
servletConfig - ServletConfig
Throws:
ServletException - servlet exception
See Also:
CXFNonSpringServlet.loadBus(javax.servlet.ServletConfig)

onService

protected void onService(org.exoplatform.container.ExoContainer container)
Allow the sub classes to execute a task when the method service is called

Parameters:
container - the eXo container
req - the HttpServletRequest
res - the HttpServletResponse

getContainer

protected final org.exoplatform.container.ExoContainer getContainer()
Returns:
Gives the ExoContainer that fits best with the current context

requirePortalEnvironment

protected boolean requirePortalEnvironment()
Indicates if it requires that a full portal environment must be set

Returns:
true if it requires the portal environment false otherwise.


Copyright © 2010 eXo Platform SAS. All Rights Reserved.