com.indexdata.serviceproxy.plugins
Class ExportRecordsPlugin

java.lang.Object
  extended by com.indexdata.serviceproxy.AbstractPlugin
      extended by com.indexdata.serviceproxy.plugins.ExportRecordsPlugin
All Implemented Interfaces:
Plugin

public class ExportRecordsPlugin
extends AbstractPlugin

Plug-in for formatting records and exporting them using given channels

Author:
Niels Erik Nielsen

Constructor Summary
ExportRecordsPlugin()
           
 
Method Summary
 void serve(ServiceRequest request, ServiceResponse response, ChainControl chain)
          This method gets called during the chain processing by the container.
static void setStatus(Document responseDocument, String action, String status, String message)
           
 
Methods inherited from class com.indexdata.serviceproxy.AbstractPlugin
getChainName, getConfig, getName, getNodeList, getXmlString, setChainName, setConfig, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportRecordsPlugin

public ExportRecordsPlugin()
Method Detail

serve

public void serve(ServiceRequest request,
                  ServiceResponse response,
                  ChainControl chain)
           throws StandardServiceException,
                  IOException
Description copied from interface: Plugin
This method gets called during the chain processing by the container.

Specified by:
serve in interface Plugin
Specified by:
serve in class AbstractPlugin
Parameters:
request - service request
response - service response
chain - chain-control utility
Throws:
StandardServiceException - plugin-runtime exception
IOException - of any kind

setStatus

public static void setStatus(Document responseDocument,
                             String action,
                             String status,
                             String message)


Copyright © 2008-2013 Index Data. All Rights Reserved.