|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provider
defines the capabilities that must be supported
for each type of service provider, such as Java class,
stored procedure, or EJB.
Providers are responsible for service authorization, and parameter
unmarshalling/marshalling.
Providers, aka provider instances, must be deployed to the SOAP handler. Each provider deployment must define the provider name, Java classname that implements the provider (which must be an implementation of this interface), and any number of provider-specific key-value pairs. Given the provider deployment information, the SOAP handler will interact with the providers solely through this interface.
The SOAP handler will create one instance for each deployed provider instance. It is possible to have one or more instances of each provider implementation (which is not to say that is necessarily recommended). In any event, each instance of a provider must be able to handle requests concurrently.
A provider implementation must:
Extensions that will be made to this interface:
Method Summary | |
void |
destroy()
One-time provider instance cleanup. |
java.lang.String |
getId()
Get this provider's unique name. |
void |
init(ProviderDeploymentDescriptor pd,
SOAPServerContext ssc)
One-time provider instance initialization. |
void |
invoke(RequestContext requestContext)
Invoke the requested method in the specified service, where the SOAP request is completely described in the request context. |
Method Detail |
public void init(ProviderDeploymentDescriptor pd, SOAPServerContext ssc) throws SOAPException
pd
- The provider descriptor which contains the provider deployment
information.ssc
- The SOAP server context, which contains the logger for
informational messages.SOAPException
- Unable to initialize and therefore unable to provide services.destroy()
public void destroy() throws SOAPException
SOAPException
- Unable to destroy.init(oracle.soap.server.ProviderDeploymentDescriptor, oracle.soap.server.SOAPServerContext)
public java.lang.String getId()
public void invoke(RequestContext requestContext) throws SOAPException
requestContext
- The RequestContext
that contains everything the
provider needs to process the request.SOAPException
- Error during method invocation for any number of reasons, including
user does not have permission, method does not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |