Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.portability
Interface DeploymentAdapter


public interface DeploymentAdapter

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


Method Summary
 void addSessionListener(ServletContext servletContext, HttpSessionListener httpListener, Logger logger)
           
 ContainerWebServicesDescriptor createContainerWebServicesDescriptor(WarModuleRuntime warModule)
           
 ContainerWebServicesDescriptor createContainerWebServicesDescriptorAdapter(Object containerWebServicesDescriptor)
           
 WarModuleRuntime createWarModuleAdapter(Object containerWarModuleRuntime)
           
 oracle.j2ee.ws.server.jaxws.WebServiceAnnotationParser createWebServiceAnnotationParser()
           
 String getApplicationName(ServletContext servletContext)
          Determine the name of the application.
 EntityResolver getConfiguredEntityResolver()
           
 String getContextRoot(ServletContext servletContext)
          Determine the deployed context root.
 File getDeploymentDirectory(ServletContext servletContext)
           
 File getDeploymentFile(ServletContext servletContext, String dirOrFileName)
           
 WebServicesDescriptorInfo getDescriptor(ServletContext servletContext)
          Get the WebServiceDescriptor instance associated with the web service identified by the specified ServletContext instance.
 File getFile(Context context, boolean force)
           
 File getFile(Context context, String subDir, boolean force)
           
 com.oracle.server.Invocation getInvocation()
           
 String getModuleName(ServletContext context)
          Determine the name of the J2EE module to which the web service, identified by the specified ServletContext instance, belongs.
 String getModuleUri(ServletContext context)
          Determine the URI of the J2EE module that contains the deployed web service, i.e. jaxws-mtom-bottomup-web.war
 URL getOracleWebservicesDescriptorURL(ServletContext context)
           
 String getUniqueEjbLinkName(String ejbName, String portComponentName)
           
 WarModuleRuntime getWarModuleRuntime(ServletConfig config)
           
 WarModule getWebXML(ServletConfig config)
           
 boolean isFileContext(Context context)
           
 void loadInterceptorExtension()
           
 oracle.j2ee.ws.server.deployment.WebServicesDescriptor parseEndpointAnnotations(String servletName, String jaxwsEndpointBeanName, ServletConfig servletConfig)
           
 byte[] readFromContext(Context context, String descriptor, boolean ignore)
           
 void setInvocation(com.oracle.server.Invocation invocation)
           
 void updateRuntimeDescriptors(ServletContext servletContext, String moduleName)
           

 

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.

getModuleUri

String getModuleUri(ServletContext context)
Determine the URI of the J2EE module that contains the deployed web service, i.e. jaxws-mtom-bottomup-web.war
Parameters:
context -
Returns:
URI of module

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.

getWebXML

WarModule getWebXML(ServletConfig config)

getWarModuleRuntime

WarModuleRuntime getWarModuleRuntime(ServletConfig config)

getDeploymentDirectory

File getDeploymentDirectory(ServletContext servletContext)
                            throws Exception
Throws:
Exception

getDeploymentFile

File getDeploymentFile(ServletContext servletContext,
                       String dirOrFileName)

updateRuntimeDescriptors

void updateRuntimeDescriptors(ServletContext servletContext,
                              String moduleName)

parseEndpointAnnotations

oracle.j2ee.ws.server.deployment.WebServicesDescriptor parseEndpointAnnotations(String servletName,
                                                                                String jaxwsEndpointBeanName,
                                                                                ServletConfig servletConfig)
                                                                                throws ClassNotFoundException,
                                                                                       oracle.j2ee.ws.common.tools.api.ValidationException,
                                                                                       WSDLException,
                                                                                       InstantiationException
Throws:
ClassNotFoundException
oracle.j2ee.ws.common.tools.api.ValidationException
WSDLException
InstantiationException

addSessionListener

void addSessionListener(ServletContext servletContext,
                        HttpSessionListener httpListener,
                        Logger logger)

createContainerWebServicesDescriptor

ContainerWebServicesDescriptor createContainerWebServicesDescriptor(WarModuleRuntime warModule)

createWarModuleAdapter

WarModuleRuntime createWarModuleAdapter(Object containerWarModuleRuntime)

createContainerWebServicesDescriptorAdapter

ContainerWebServicesDescriptor createContainerWebServicesDescriptorAdapter(Object containerWebServicesDescriptor)

getFile

File getFile(Context context,
             String subDir,
             boolean force)

getFile

File getFile(Context context,
             boolean force)

readFromContext

byte[] readFromContext(Context context,
                       String descriptor,
                       boolean ignore)
                       throws InstantiationException
Throws:
InstantiationException

isFileContext

boolean isFileContext(Context context)

getConfiguredEntityResolver

EntityResolver getConfiguredEntityResolver()

getInvocation

com.oracle.server.Invocation getInvocation()

setInvocation

void setInvocation(com.oracle.server.Invocation invocation)

createWebServiceAnnotationParser

oracle.j2ee.ws.server.jaxws.WebServiceAnnotationParser createWebServiceAnnotationParser()

getUniqueEjbLinkName

String getUniqueEjbLinkName(String ejbName,
                            String portComponentName)

loadInterceptorExtension

void loadInterceptorExtension()

getOracleWebservicesDescriptorURL

URL getOracleWebservicesDescriptorURL(ServletContext context)

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.