com.endeca.edf.adapter.plugins
Class WebDAVPlugin

java.lang.Object
  extended by com.endeca.edf.adapter.plugins.WebDAVPlugin
All Implemented Interfaces:
Adapter
Direct Known Subclasses:
ExchangePlugin

public class WebDAVPlugin
extends java.lang.Object
implements Adapter

This pluggable adapter demonstrates how to connect to WebDAV using the Apache Slide API. This class can be extended to handle specific applications that support WebDAV (such as Exchange or Notes) specially.

Copyright: (C) 2003-6 by Endeca Technologies Inc.

See The Jakarta Slide Project for general information and APIs.


Constructor Summary
WebDAVPlugin()
           
 
Method Summary
 void configure(AdapterConfig config)
          This method is called at the beginning of execute before any processing occurs.
 void execute(AdapterConfig config, AdapterHandler handler)
          Adpater Interface
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDAVPlugin

public WebDAVPlugin()
Method Detail

execute

public void execute(AdapterConfig config,
                    AdapterHandler handler)
             throws AdapterException
Adpater Interface

Specified by:
execute in interface Adapter
Parameters:
config - a multimap of name-value pairs, containing adapter configuration
handler - used to "emit" or "return" documents from the Adapter, call emit on this functor to return records
Throws:
AdapterException - if a problem occurs
See Also:
Record

configure

public void configure(AdapterConfig config)
               throws AdapterException
This method is called at the beginning of execute before any processing occurs. It may be overridden by derived classes which require additional config.

Parameters:
config - Name/value configuration pairs
Throws:
AdapterException


© 2003, 2012 Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential