Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.adapter
Interface RuntimeAdapter


public interface RuntimeAdapter

This interface represents the plug-in service providers for PTG Runtime.


Method Summary
 void destroy()
          Destroy the provider.
 Arguments getInitArguments()
          Get the init arguments
 Arguments getInputArguments()
          Get the input Arguments
 OutputArguments getOutputArguments()
          Get the output Arguments
 void init(Arguments args)
          Initialize the adapter using the information from the init arguments.
 org.w3c.dom.Element invoke(ServiceContext serviceContext)
          Invoke the adapter using the input and output parameters in the service context.

 

Method Detail

getInitArguments

public Arguments getInitArguments()
                           throws AdapterException
Get the init arguments
Returns:
init arguments
AdapterException

getInputArguments

public Arguments getInputArguments()
                            throws AdapterException
Get the input Arguments
Returns:
input arguments
AdapterException

getOutputArguments

public OutputArguments getOutputArguments()
                                   throws AdapterException
Get the output Arguments
Returns:
an array of output arguments
AdapterException

init

public void init(Arguments args)
          throws AdapterException
Initialize the adapter using the information from the init arguments.
Parameters:
args - init arguments
AdapterException

invoke

public org.w3c.dom.Element invoke(ServiceContext serviceContext)
                           throws AdapterException
Invoke the adapter using the input and output parameters in the service context.
AdapterException

destroy

public void destroy()
Destroy the provider.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.