[9] Review request JDK-8131334: SAAJ Plugability Layer: using java.util.ServiceLoader (original) (raw)
Miroslav Kos miroslav.kos at oracle.com
Thu Oct 1 08:26:03 UTC 2015
- Previous message: P.S.: RFR [9] 8133651: automated replacing of old-style tags in docs
- Next message: [9] Review request JDK-8131334: SAAJ Plugability Layer: using java.util.ServiceLoader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 30/09/15 17:31, Miroslav Kos wrote:
On 30/09/15 16:50, Georgiy Rakov wrote:
2. This is not related to ServiceLoader feature, but anyway - SAAJMetaFactory.java:
30 * SAAJ API./*All *//of the {@code newInstance} methods defined on factories/ in 31 * SAAJ 1.3 defer to instances of this class to do the actual object creation. Namely it says that /all/**the newInstance methods defined on factories delegate factory creation to SAAJMetaFactory instances, but this seems to be not exactly true because SOAPConnectionFactory is not created by SAAJMetaFactory instance. Yes, good catch. To fix it, it would be good to add a new abstract method public abstract SOAPConnectionFactory newSOAPConnectionFactory() throws SOAPException, UnsupportedOperationException Would you agree, Deva, Chen? There is a problem with backwards compatibility here ... More defensive would be to name the two factories instead of saying "all"? Any opinion on this, anybody?
Thanks Miran
Thanks Miran Btw. I sent this RFR initially to wrong mailing lists, would you check when answering that it's to Core-Libs-Dev <core-libs-dev at openjdk.java.net> ?
Thank you, Georgiy.
- Previous message: P.S.: RFR [9] 8133651: automated replacing of old-style tags in docs
- Next message: [9] Review request JDK-8131334: SAAJ Plugability Layer: using java.util.ServiceLoader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]