|
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 ProviderPlatformAdapter
Implementations of this interface provide host-platform-specific provider functionality.
| Field Summary | |
|---|---|
static String |
APP_NAME_CONTEXT_ATTRIBUTE |
static String |
MODULE_NAME_CONTEXT_ATTRIBUTE |
static String |
WEBSERVICE_NAME_EXECUTION_CONTEXT_ATTRIBUTE |
static String |
WEBSERVICE_PORT_NAME_EXECUTION_CONTEXT_ATTRIBUTE |
| 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. |
|
boolean |
authorize(com.oracle.server.Invocation invocation) |
|
ProviderInterceptorPipeline |
createProviderInterceptorPipeline(PortId portId, String pathInfo, URL wsdlURL, ProviderProcessorInfo processor, Definition wsdl, Element config, DynamicEndpointNameHelper helper)Factory method for creating a ProviderInterceptorPipeline instance for a provider-based endpoint. |
|
SessionManager |
createSessionManager(ServletContext servletContext)Factory method for creating a SessionManager instance for a provider-based endpoint. |
|
void |
establishSubjectInServlet(Map<String,Object> messageContext, HttpServletRequest httpReq) |
|
void |
establishSubjectOnThreadContext(Map<String,Object> messageContext, String propertyName) |
|
void |
establishSubjectOnThreadContext(oracle.j2ee.ws.common.soap.message.SOAPMessageContext messageContext, String propertyName) |
|
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. |
|
boolean |
getXmlValidate() |
|
|
makeCollocationProxy(Class<T> ifc, T impl) |
|
void |
propagateIdentityContextToMessageContext(MessageContext providerContext, oracle.j2ee.ws.common.soap.message.SOAPMessageContext messageContext) |
|
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. |
|
void |
resetExecutionContext() |
|
|
runAs(String username, PrivilegedExceptionAction<T> action, String contextID) |
|
|
runAs(Subject subject, PrivilegedExceptionAction<T> action) |
|
|
runAsAnonymousUser(PrivilegedExceptionAction<T> action, String contextID) |
|
void |
setupExecutionContext(String appName, WebServiceEndpointInfo endpoint, String moduleName) |
|
| Field Detail |
|---|
static final String APP_NAME_CONTEXT_ATTRIBUTE
static final String MODULE_NAME_CONTEXT_ATTRIBUTE
static final String WEBSERVICE_NAME_EXECUTION_CONTEXT_ATTRIBUTE
static final String WEBSERVICE_PORT_NAME_EXECUTION_CONTEXT_ATTRIBUTE
| Method Detail |
|---|
ProviderInterceptorPipeline createProviderInterceptorPipeline(PortId portId,
String pathInfo,
URL wsdlURL,
ProviderProcessorInfo processor,
Definition wsdl,
Element config,
DynamicEndpointNameHelper helper)
throws InstanceAlreadyExistsException
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).InstanceAlreadyExistsExceptionString getApplicationName(ProviderConfig providerConfig)
providerConfig - The configuration for the provider in question.String getModuleName(ProviderConfig providerConfig)
providerConfig - The configuration for the provider in question.
String getPathInfo(ProviderConfig providerConfig,
String servletLink)
providerConfig - The configuration for the provider in question.servletLink - The value of the servlet-link element of the provider's deployment descriptor.ProviderPlatformStatisticsAdapter getStatisticsAdapter()
void registerProviderEndpointMBean(ProviderProcessorInfo processor)
throws MBeanRegistrationException,
NotCompliantMBeanException,
InstanceAlreadyExistsException
processor - The processor associated with the provider endpoint.MBeanRegistrationExceptionNotCompliantMBeanExceptionInstanceAlreadyExistsException
void addServiceToCluster(ProviderProcessorInfo processor,
String providerName,
String pathInfo,
URL wsdlURL,
QName wsdlPort,
QName serviceQName,
Object policy)
throws MalformedObjectNameException,
ReflectionException,
InstanceNotFoundException,
MBeanException,
IOException,
NamingException
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.MalformedObjectNameExceptionReflectionExceptionInstanceNotFoundExceptionMBeanExceptionIOExceptionNamingException
void removeServiceFromCluster(ProviderProcessorInfo processor,
String providerName,
String pathInfo)
throws MalformedObjectNameException,
IOException,
ReflectionException,
InstanceNotFoundException,
MBeanException,
NamingException
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.MalformedObjectNameExceptionIOExceptionReflectionExceptionInstanceNotFoundExceptionMBeanExceptionNamingException
<T> T makeCollocationProxy(Class<T> ifc,
T impl)
void setupExecutionContext(String appName,
WebServiceEndpointInfo endpoint,
String moduleName)
void resetExecutionContext()
void propagateIdentityContextToMessageContext(MessageContext providerContext,
oracle.j2ee.ws.common.soap.message.SOAPMessageContext messageContext)
void establishSubjectOnThreadContext(oracle.j2ee.ws.common.soap.message.SOAPMessageContext messageContext,
String propertyName)
void establishSubjectOnThreadContext(Map<String,Object> messageContext,
String propertyName)
void establishSubjectInServlet(Map<String,Object> messageContext,
HttpServletRequest httpReq)
<T> T runAs(Subject subject,
PrivilegedExceptionAction<T> action)
throws SecurityException
SecurityException
<T> T runAs(String username,
PrivilegedExceptionAction<T> action,
String contextID)
throws SecurityException
SecurityException
<T> T runAsAnonymousUser(PrivilegedExceptionAction<T> action,
String contextID)
throws SecurityException
SecurityExceptionboolean authorize(com.oracle.server.Invocation invocation)
boolean getXmlValidate()
SessionManager createSessionManager(ServletContext servletContext)
servletContext - the servlet context for the endpoint.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||