21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
22 * CA 95054 USA or visit www.sun.com if you need additional information or |
22 * CA 95054 USA or visit www.sun.com if you need additional information or |
23 * have any questions. |
23 * have any questions. |
24 */ |
24 */ |
25 /* |
25 /* |
26 * $Id: MessageFactoryImpl.java,v 1.23 2006/01/27 12:49:27 vj135062 Exp $ |
26 * |
27 * $Revision: 1.23 $ |
27 * |
28 * $Date: 2006/01/27 12:49:27 $ |
28 * |
29 */ |
29 */ |
30 |
30 |
31 |
31 |
32 package com.sun.xml.internal.messaging.saaj.soap; |
32 package com.sun.xml.internal.messaging.saaj.soap; |
33 |
33 |
52 * |
52 * |
53 * @author Phil Goodwin (phil.goodwin@sun.com) |
53 * @author Phil Goodwin (phil.goodwin@sun.com) |
54 */ |
54 */ |
55 public class MessageFactoryImpl extends MessageFactory { |
55 public class MessageFactoryImpl extends MessageFactory { |
56 |
56 |
57 protected static Logger log = |
57 protected static final Logger log = |
58 Logger.getLogger(LogDomainConstants.SOAP_DOMAIN, |
58 Logger.getLogger(LogDomainConstants.SOAP_DOMAIN, |
59 "com.sun.xml.internal.messaging.saaj.soap.LocalStrings"); |
59 "com.sun.xml.internal.messaging.saaj.soap.LocalStrings"); |
60 |
60 |
61 protected static OutputStream listener; |
61 protected OutputStream listener; |
62 |
62 |
63 protected boolean lazyAttachments = false; |
63 protected boolean lazyAttachments = false; |
64 |
64 |
65 public static OutputStream listen(OutputStream newListener) { |
65 public OutputStream listen(OutputStream newListener) { |
66 OutputStream oldListener = listener; |
66 OutputStream oldListener = listener; |
67 listener = newListener; |
67 listener = newListener; |
68 return oldListener; |
68 return oldListener; |
69 } |
69 } |
70 |
70 |