org.mule.config.builders
Class MuleXmlBuilderContextServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.mule.config.builders.MuleXmlBuilderContextServlet

public class MuleXmlBuilderContextServlet
extends HttpServlet

Author:
EAF Team
See Also:
Serialized Form

Field Summary
static String CONFIG_INIT_PARAMETER
           
 
Constructor Summary
MuleXmlBuilderContextServlet()
           
 
Method Summary
protected  UMOManager createManager(String configResource, ServletContext context)
          Used to actually construct the UMOManager instance
 void destroy()
           
protected  String getDefaultConfigResource()
          If no config location resource is configured on the servlet context, the value returned from this method will be used to initialise the MuleManager.
 void init()
           
protected  void service(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_INIT_PARAMETER

public static final String CONFIG_INIT_PARAMETER
See Also:
Constant Field Values
Constructor Detail

MuleXmlBuilderContextServlet

public MuleXmlBuilderContextServlet()
Method Detail

init

public void init()
          throws ServletException
Throws:
ServletException

createManager

protected UMOManager createManager(String configResource,
                                   ServletContext context)
                            throws ConfigurationException
Used to actually construct the UMOManager instance

Parameters:
configResource - the location of the config resource, this can be on the local file system or on the classpath.
Returns:
A configured UMOManager instance
Throws:
ConfigurationException

getDefaultConfigResource

protected String getDefaultConfigResource()
If no config location resource is configured on the servlet context, the value returned from this method will be used to initialise the MuleManager.

Returns:
the default config resource location

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       IOException
Throws:
ServletException
IOException

destroy

public void destroy()


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.