com.novell.nds.dirxml.driver
Interface XmlCommandProcessor

All Known Subinterfaces:
SubscriptionShim

public interface XmlCommandProcessor

The XmlCommandProcessor interface defines a method that accepts XML-encoded commands and returns the results of processing the commands.

The primary implemenation of XmlCommandProcessor is by the Identity Manager Engine and is passed to an application shim's PublicationShim.start method. The application shim calls the execute method to report application data events to Identity Manager.

See Also:
PublicationShim.start(com.novell.nds.dirxml.driver.XmlCommandProcessor)

Method Summary
 XmlDocument execute(XmlDocument doc, XmlQueryProcessor query)
          The execute method accepts zero or more XML-encoded commands and executes them.
 

Method Detail

execute

XmlDocument execute(XmlDocument doc,
                    XmlQueryProcessor query)
The execute method accepts zero or more XML-encoded commands and executes them.

Parameters:
doc - A document containing zero or more an XML-encoded commands
query - A query processor that can be used to query the caller for more information about objects in the commands
Returns:
An XML document that contains the result of executing the XML-encoded command