< prev index next >

src/java.xml.ws/share/classes/com/oracle/webservices/internal/api/message/MessageContextFactory.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 39,48 **** --- 39,50 ---- public abstract class MessageContextFactory { private static final MessageContextFactory DEFAULT = new com.sun.xml.internal.ws.api.message.MessageContextFactory(new WebServiceFeature[0]); + protected com.sun.xml.internal.ws.api.message.saaj.SAAJFactory saajFactory = null; + protected abstract MessageContextFactory newFactory(WebServiceFeature ... f); public abstract MessageContext createContext(); public abstract MessageContext createContext(SOAPMessage m);
*** 125,130 **** --- 127,136 ---- @Deprecated private static interface Creator { public MessageContext create(MessageContextFactory f); } + + public void setSAAJFactory(com.sun.xml.internal.ws.api.message.saaj.SAAJFactory saajFactory) { + this.saajFactory = saajFactory; + } }
< prev index next >