axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/server SimpleAxisEngine.java
Date Sun, 11 Feb 2001 01:35:20 GMT
jmsnell     01/02/10 17:35:20

  Modified:    java/src/org/apache/axis/server SimpleAxisEngine.java
  Log:
  Changed the constructor to allow passing in of HandlerRegistries
  
  Revision  Changes    Path
  1.15      +19 -2     xml-axis/java/src/org/apache/axis/server/SimpleAxisEngine.java
  
  Index: SimpleAxisEngine.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/server/SimpleAxisEngine.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SimpleAxisEngine.java	2001/02/10 04:39:58	1.14
  +++ SimpleAxisEngine.java	2001/02/11 01:35:19	1.15
  @@ -66,8 +66,25 @@
    * @author Doug Davis (dug@us.ibm.com)
    * @author Glen Daniels (gdaniels@allaire.com)
    */
  -public class SimpleAxisEngine extends BasicHandler {
  -    /**
  +public class SimpleAxisEngine extends BasicHandler 
  +{
  +	public SimpleAxisEngine() {}
  +	
  +	/**
  +	 * Allows the Listener to specify which handler/service registry
  +	 * implementation they want to use.
  +	 */
  +	public SimpleAxisEngine(HandlerRegistry handlers, HandlerRegistry services) 
  +	{
  +		Debug.Print( 1, "Enter: SimpleAxisEngine::Constructor");
  +		handlers.init();
  +		services.init();
  +		addOption(Constants.HANDLER_REGISTRY, handlers);
  +		addOption(Constants.SERVICE_REGISTRY, services);
  +		Debug.Print( 1, "Exit: SimpleAxisEngine::Constructor");
  +	}
  +	
  +	/**
        * Find/load the registries and save them so we don't need to do this
        * each time we're called.
        */
  
  
  

Mime
View raw message