com.sun.xml.ws.policy.jaxws.xmlstreamwriter
Interface InvocationProcessorFactory


public interface InvocationProcessorFactory

The interface provides API contract for InvocationProcessor factory implementations. Implementations of this interface may be passed into EnhancedXmlStreamWriterProxy


Method Summary
 InvocationProcessor createInvocationProcessor(javax.xml.stream.XMLStreamWriter writer)
          Factory method creates InvocationProcessor instance that implements additional XMLStreamWriter feature or enhancement.
 

Method Detail

createInvocationProcessor

InvocationProcessor createInvocationProcessor(javax.xml.stream.XMLStreamWriter writer)
                                              throws javax.xml.stream.XMLStreamException
Factory method creates InvocationProcessor instance that implements additional XMLStreamWriter feature or enhancement.

Parameters:
writer - underlying XMLStreamWriter instance that should be enhanced with the new feature(s).
Returns:
newly created InvocationProcessor instance.
Throws:
javax.xml.stream.XMLStreamException - in case of any problems with creation of new InvocationProcessor instance.