On Monday 26 January 2004 10:39, Leo Sutic wrote:
>     public void process () {
>         SAXTransformer tf =
>             (SAXTransformer) saxTransformerFactory.get ();
>         try {
>             tf.startDocument ();
>             ...
>             tf.endDocument ();
>         } finally {
>             saxTransformerFactory.put (tf);
>         }
>     }

Forgive me for being utterly dumb and thick-headed, but I don't get what you 
are looking for.

What is the difference?

         SAXTransformer tf =
             (SAXTransformer) serviceManager.lookup( "sax-transformer" );
         try {
             tf.startDocument ();
             ...
             tf.endDocument ();
         } finally {
             serviceManager.release( tf );
         }

Niclas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to