|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated. As of 9.0.2.1.0, replaced by RuntimeAdapter
The Interface to be implemented by all Adapters
An Adapter can return result as an XML Element, and the structure should follow either the SimpleResult or the AdapterResult structure.
The Adapter is also responsible to communicate it's definition. And the definition must follow the AdapterDefinition DTD.
The definition is divided into two parts; init and complete where the init must be called before the Adapter is initialized and the complete when the Adapter has been initalized. A typical call sequence in runtime is;
A typical call sequence in management time is;
Method Summary | |
AdapterDefinition |
getAdapterDefinition() Deprecated. The Adapter init/input and output parameters. |
AdapterDefinition |
getInitDefinition() Deprecated. The Adapter init parameters. |
void |
init(Arguments args) Deprecated. Init is called only once per life-cycle, right after the Adapter is instansiated. |
org.w3c.dom.Element |
invoke(ServiceRequest serviceReq) Deprecated. The actual request call to an Adapter. |
Method Detail |
public AdapterDefinition getAdapterDefinition() throws AdapterException
AdapterException
- when this adapter is not initializedAdapterDefinition
public AdapterDefinition getInitDefinition()
AdapterDefinition
public void init(Arguments args) throws AdapterException
args
- The argumentsAdapterException
- when the parameters are invalidArguments
public org.w3c.dom.Element invoke(ServiceRequest serviceReq) throws AdapterException
serviceReq
- The complete service requestAdapterException
- when the request is invalid or something else has happenedoracle.panama.core.ServiceRequest
, AdapterException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |