net.bioclipse.xws.component.adhoc.function
Interface IFunction


public interface IFunction


Method Summary
 FunctionInformation getFunctionInformation()
          Must return the function information.
 void run(IProcessStatus ps, org.w3c.dom.Element input)
          The function was invoked.
 

Method Detail

getFunctionInformation

FunctionInformation getFunctionInformation()
Must return the function information. Called by the xws4j XMPP Service component to get information (description, input/output XML Schemata, etc.) about the functions to be hosted.

Returns:
The function information.

run

void run(IProcessStatus ps,
         org.w3c.dom.Element input)
The function was invoked.

Parameters:
ps - The process status.
input - The input XML element as Element.