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 ProviderPlatformAdapter


public interface ProviderPlatformAdapter

Implementations of this interface provide host-platform-specific provider functionality.


Method Summary
 void addServiceToCluster(ProviderProcessorInfo processor, String providerName, String pathInfo, URL wsdlURL, QName wsdlPort, QName serviceQName, Object policy)
          Make a dynamic endpoint accessible from all instances of an application across a configuration group or cluster.
 ProviderInterceptorPipeline createProviderInterceptorPipeline(PortId portId, String pathInfo, URL wsdlURL, ProviderProcessorInfo processor, Definition wsdl, Element config)
          Factory method for creating a ProviderInterceptorPipeline instance for a provider-based endpoint.
 String getApplicationName(ProviderConfig providerConfig)
          Determine the name of the application with which the provider is associated.
 String getModuleName(ProviderConfig providerConfig)
          Determine the name of the J2EE module with which the provider is associated.
 String getPathInfo(ProviderConfig providerConfig, String servletLink)
          Determine the pathInfo for the provider.
 ProviderPlatformStatisticsAdapter getStatisticsAdapter()
          Accessor for the ProviderPlatformStatisticsAdapter instance associated with this instance.
 void registerProviderEndpointMBean(ProviderProcessorInfo processor)
          Register an MBean for a provider endpoint.
 void removeServiceFromCluster(ProviderProcessorInfo processor, String providerName, String pathInfo)
          Remove a dynamic endpoint from a configuration group or cluster.

 

Method Detail

createProviderInterceptorPipeline

ProviderInterceptorPipeline createProviderInterceptorPipeline(PortId portId,
                                                              String pathInfo,
                                                              URL wsdlURL,
                                                              ProviderProcessorInfo processor,
                                                              Definition wsdl,
                                                              Element config)
                                                              throws InstanceAlreadyExistsException
Factory method for creating a ProviderInterceptorPipeline instance for a provider-based endpoint.
Parameters:
portId - The port identifier for the endpoint.
pathInfo - The path info associated with the endpoint.
wsdlURL - The location of the WSDL definition for the service for which the specified provider is an endpoint.
processor - The ProviderProcessorInfo for the provider instance.
wsdl - The processed WSDL definition.
config - The pipeline configuration element (from oracle-webservices.xml).
Returns:
A ProviderInterceptorPipeline instance.
Throws:
InstanceAlreadyExistsException

getApplicationName

String getApplicationName(ProviderConfig providerConfig)
Determine the name of the application with which the provider is associated.
Parameters:
providerConfig - The configuration for the provider in question.
Returns:
The name of the associated application.

getModuleName

String getModuleName(ProviderConfig providerConfig)
Determine the name of the J2EE module with which the provider is associated.
Parameters:
providerConfig - The configuration for the provider in question.
Returns:
The name of the associated J2EE module.

getPathInfo

String getPathInfo(ProviderConfig providerConfig,
                   String servletLink)
Determine the pathInfo for the provider.
Parameters:
providerConfig - The configuration for the provider in question.
servletLink - The value of the servlet-link element of the provider's deployment descriptor.
Returns:
The pathInfo for the provider.

getStatisticsAdapter

ProviderPlatformStatisticsAdapter getStatisticsAdapter()
Accessor for the ProviderPlatformStatisticsAdapter instance associated with this instance.
Returns:
A ProviderPlatformStatisticsAdapter instance.

registerProviderEndpointMBean

void registerProviderEndpointMBean(ProviderProcessorInfo processor)
                                   throws MBeanRegistrationException,
                                          NotCompliantMBeanException,
                                          InstanceAlreadyExistsException
Register an MBean for a provider endpoint.
Parameters:
processor - The processor associated with the provider endpoint.
Throws:
MBeanRegistrationException
NotCompliantMBeanException
InstanceAlreadyExistsException

addServiceToCluster

void addServiceToCluster(ProviderProcessorInfo processor,
                         String providerName,
                         String pathInfo,
                         URL wsdlURL,
                         QName wsdlPort,
                         QName serviceQName,
                         Object policy)
                         throws MalformedObjectNameException,
                                ReflectionException,
                                InstanceNotFoundException,
                                MBeanException,
                                IOException,
                                NamingException
Make a dynamic endpoint accessible from all instances of an application across a configuration group or cluster.
Parameters:
processor - The processor associated with the provider that is managing the endpoint.
providerName - The name of the provider.
pathInfo - The URL pathinfo associated with the endpoint.
wsdlURL - The URL of the WSDL definition associated with the endpoint.
wsdlPort - The QName of the port that the endpoint is providing.
serviceQName - The QName of the web service associated with the endpoint.
policy - A management policy Object.
Throws:
MalformedObjectNameException
ReflectionException
InstanceNotFoundException
MBeanException
IOException
NamingException

removeServiceFromCluster

void removeServiceFromCluster(ProviderProcessorInfo processor,
                              String providerName,
                              String pathInfo)
                              throws MalformedObjectNameException,
                                     IOException,
                                     ReflectionException,
                                     InstanceNotFoundException,
                                     MBeanException,
                                     NamingException
Remove a dynamic endpoint from a configuration group or cluster.
Parameters:
processor - The processor associated with the provider that is managing the endpoint.
providerName - The name of the provider.
pathInfo - The URL pathinfo associated with the endpoint.
Throws:
MalformedObjectNameException
IOException
ReflectionException
InstanceNotFoundException
MBeanException
NamingException

Skip navigation links

Copyright © 2006, Oracle. All Rights Reserved.