magoffin.matt.ma2.web.service
Class AddMediaEndpoint
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.AbstractSaxPayloadEndpoint
magoffin.matt.ma2.web.service.AddMediaEndpoint
- All Implemented Interfaces:
- org.springframework.ws.server.endpoint.PayloadEndpoint
public class AddMediaEndpoint
- extends org.springframework.ws.server.endpoint.AbstractSaxPayloadEndpoint
Web service endpoint for adding media.
Uses SAX to handle potentially large amount of data encoded into the request.
Note that a BizContext
must be available via BizContextUtil.getBizContext()
prior to invoking this service, to pass the user authentication to the import.
- Version:
- $Revision: 89 $ $Date: 2007-12-04 17:59:26 +1300 (Tue, 04 Dec 2007) $
- Author:
- matt
- See Also:
BizContextUtil
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport |
logger |
Methods inherited from class org.springframework.ws.server.endpoint.AbstractSaxPayloadEndpoint |
invoke |
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport |
createTransformer, getTransformerFactory, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddMediaEndpoint
public AddMediaEndpoint()
createContentHandler
protected org.xml.sax.ContentHandler createContentHandler()
throws java.lang.Exception
- Specified by:
createContentHandler
in class org.springframework.ws.server.endpoint.AbstractSaxPayloadEndpoint
- Throws:
java.lang.Exception
getResponse
protected javax.xml.transform.Source getResponse(org.xml.sax.ContentHandler contentHandler)
throws java.lang.Exception
- Specified by:
getResponse
in class org.springframework.ws.server.endpoint.AbstractSaxPayloadEndpoint
- Throws:
java.lang.Exception
getIoBiz
public IOBiz getIoBiz()
- Returns:
- the ioBiz
setIoBiz
public void setIoBiz(IOBiz ioBiz)
- Parameters:
ioBiz
- the ioBiz to set
getOutputFactory
public javax.xml.stream.XMLOutputFactory getOutputFactory()
- Returns:
- the outputFactory
setOutputFactory
public void setOutputFactory(javax.xml.stream.XMLOutputFactory outputFactory)
- Parameters:
outputFactory
- the outputFactory to set