avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt XSLTProcessorImpl.java
Date Wed, 10 Jul 2002 09:50:03 GMT
donaldp     2002/07/10 02:50:03

  Modified:    xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt
                        XSLTProcessorImpl.java
  Log:
  All stores are thread safe so no need to release them or hang onto the ComponentManager
instance
  
  Revision  Changes    Path
  1.14      +3 -14     jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt/XSLTProcessorImpl.java
  
  Index: XSLTProcessorImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/xmlutil/src/java/org/apache/avalon/excalibur/xml/xslt/XSLTProcessorImpl.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XSLTProcessorImpl.java	10 Jul 2002 09:39:30 -0000	1.13
  +++ XSLTProcessorImpl.java	10 Jul 2002 09:50:03 -0000	1.14
  @@ -74,8 +74,6 @@
       Parameterizable,
       URIResolver
   {
  -    private ComponentManager m_manager;
  -
       /** The store service instance */
       private Store m_store;
   
  @@ -105,7 +103,6 @@
       public void compose( final ComponentManager manager )
           throws ComponentException
       {
  -        m_manager = manager;
           m_xmlizer = (XMLizer)manager.lookup( XMLizer.ROLE );
           m_errorHandler = new TraxErrorHandler( getLogger() );
           m_resolver = (SourceResolver)manager.lookup( SourceResolver.ROLE );
  @@ -116,19 +113,11 @@
           }
       }
   
  -    /**
  -     * Dispose
  -     */
       public void dispose()
       {
  -        if( null != m_manager )
  -        {
  -            m_manager.release( m_store );
  -            m_store = null;
  -            m_resolver = null;
  -        }
  +        m_store = null;
  +        m_resolver = null;
           m_errorHandler = null;
  -        m_manager = null;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message