|
Java API Reference for Oracle Infrastructure Web Services 11 Release 1 (11.1.1) E10654-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Provider
An interface a provider implementation has to implement .
Method Summary | |
---|---|
void |
destroy() The destroy method is called when the Provider is destroyed and garbage collected. |
void |
init(ProviderConfig config) The init method is called when the Provider is loaded and initialized and can be used to do any setup and resource creations. |
SOAPMessage |
processMessage(SOAPMessage request, MessageContext messageContext) This is the main method of the provider available for processing logic. |
Method Detail |
---|
void init(ProviderConfig config) throws ProviderException
The init method is called when the Provider is loaded and initialized and can be used to do any setup and resource creations.
The ProviderConfig provides mechanism to set and get properties appropriate servlet context and add or remove services.The existence of init and destroy methods gives the implicit lifecycle mechanisms for the Provider.
config
- ProviderConfig of the provider endpoint to set and get properties set through configuration.ProviderException
- If any error occurs in initialization of the Provider; or if any illegal context has been provided in the init methodSOAPMessage processMessage(SOAPMessage request, MessageContext messageContext) throws ProviderException
request
- SOAPMessage. Input request element.ProviderException
- Is thrown if there are any processing errors.void destroy() throws ProviderException
ProviderException
- If any error occurs during the cleanup process.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |