org.apache.axis2.dataretrieval
Interface AxisDataLocator

All Known Implementing Classes:
AxisDataLocatorImpl, PolicyDataLocator, SchemaDataLocator, WSDLDataLocator

public interface AxisDataLocator

AxisDataLocator interface defines getData API for retrieving data particularly metadata like WSDL, Policy, Schema. Web Service engines that have different methods in storing metadata or different types of data to retrieve may code their version of Data Locator(s)by implementing the AxisDataLocator interface. Axis 2 support Data Locator plugin by configuring in Axis2.xml or services.xml.


Method Summary
 Data[] getData(DataRetrievalRequest request, MessageContext msgContext)
          Retrieves and returns data based on the specified request.
 

Method Detail

getData

Data[] getData(DataRetrievalRequest request,
               MessageContext msgContext)
               throws DataRetrievalException
Retrieves and returns data based on the specified request.

Parameters:
request - The DataRetrievalRequest allow to specify parameters about the request, and additional information to process the request.
msgContext - The MessageContext from the original request.
Returns:
Data[] for the request.
Throws:
DataRetrievalException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.