Skip navigation links

Oracle Application Server
Web Services Java API Reference
10g Release 3 (10.1.3.1.0)

B28977-01


oracle.webservices.portability
Interface DeploymentAdapter


public interface DeploymentAdapter

Implementations of this interface provide host-platform-specific information during web service deployment.


Method Summary
 String getApplicationName(ServletContext servletContext)
          Determine the name of the application.
 String getContextRoot(ServletContext servletContext)
          Determine the deployed context root.
 WebServicesDescriptorInfo getDescriptor(ServletContext servletContext)
          Get the WebServiceDescriptor instance associated with the web service identified by the specified ServletContext instance.
 String getModuleName(ServletContext context)
          Determine the name of the J2EE module to which the web service, identified by the specified ServletContext instance, belongs.

 

Method Detail

getApplicationName

String getApplicationName(ServletContext servletContext)
Determine the name of the application.
Parameters:
servletContext -
Returns:
The application name.

getContextRoot

String getContextRoot(ServletContext servletContext)
Determine the deployed context root.
Parameters:
servletContext -
Returns:
The deployed context root.

getModuleName

String getModuleName(ServletContext context)
Determine the name of the J2EE module to which the web service, identified by the specified ServletContext instance, belongs.
Parameters:
context - The ServletContext for the web component.
Returns:
The name of the module to which the web component belongs.

getDescriptor

WebServicesDescriptorInfo getDescriptor(ServletContext servletContext)
                                        throws Exception
Get the WebServiceDescriptor instance associated with the web service identified by the specified ServletContext instance.
Parameters:
servletContext - A ServletContext instance associated with the web service.
Returns:
A WebServicesDescriptor instance.
Throws:
Exception - The types of exception that can be expected will vary with the implementation.

Skip navigation links

Copyright © 2006, Oracle. All Rights Reserved.