|
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 ProviderConfig
Configuration related information for the Provider. <p/> This information provides access to Provider instance details. This may include access to information from deployment descriptors, and may entail communication with the container.
Field Summary | |
---|---|
static String |
BINDING_TYPE_SOAP11 The Binding type indicating that SOAP 1.1 binding should be generated for the service |
static String |
BINDING_TYPE_SOAP12 The Binding type indicating that a SOAP1.2 binding should be generated |
static String |
PROPAGATE_DYNAMIC_ENDPOINTS The property key for requesting propagation of dynamic endpoints (endpoints created as a results of a ProviderConfig.addService() invocation) to the other nodes in the configuratioon group. |
static String |
VALIDATE_SOAP_SCHEMA The property key for requesting validation of incoming soap requests. |
Method Summary | |
---|---|
void |
addService(String pathInfo, Definition definition, QName wsdlPort, QName serviceName, Object policy) Add a service from inside the provider implementation. |
void |
addService(String pathInfo, Definition definition, QName portType, QName wsdlPort, QName serviceName, Object policy) Add a service from inside the provider implementation. |
void |
addService(String pathInfo, Definition definition, QName portType, QName wsdlPort, QName serviceName, Object policy, String bindingType) Add a service from inside the provider implementation. |
void |
addService(String pathInfo, InputStream wsdlStream, String wsdlBaseURI, QName wsdlPort, QName serviceName, Object policy) Add a service from inside the provider implementation. |
void |
addService(String pathInfo, InputStream wsdlStream, String wsdlBaseURI, QName portType, QName wsdlPort, QName serviceName, Object policy) Add a service from inside the provider implementation. |
void |
addService(String pathInfo, URL wsdlURL, QName wsdlPort, QName serviceName, Object policy) Add a service from inside the provider implementation. |
void |
addService(String pathInfo, URL wsdlURL, QName portType, QName wsdlPort, QName serviceName, Object policy) Add a service from inside the provider implementation. |
boolean |
containsProperty(String name) Check whether a particular property was provided. |
ConnectionConfig |
getConnectionConfig() |
Object |
getContainerContext() Return the Context of the provider container. |
DynamicEndpointNameHelper |
getDynamicEndpointNameHelper(String pathInfo, String portName) Get the DynamicEndpointNameHelper configured for the specified provider endpoint. |
Model |
getModel(String pathInfo) |
Model |
getModel(String pathInfo, MddsErrorHandler errHandler) |
String |
getProperty(String name) Get the property value corresponding to the property name. |
Iterator |
getPropertyNames() Return the list of properties defined for this configuration. |
Iterator |
getProviderEndpointPaths() Get the collection of dynamically added provider endpoint paths. |
ProviderInterceptorPipeline |
getProviderInterceptorPipeline(String pathInfo) Get the ProviderInterceptorPipeline configured for the specified provider endpoint. |
String |
getProviderName() Return the provider name. |
ServiceInvocationInfo |
getServiceInvocationInfo() |
oracle.j2ee.ws.common.management.DatabindingStatisticsCollector |
getStatsCollector() |
Definition |
getWSDL(String pathInfo) Returns the WSDL Definition for the given endpoint. |
String |
getWSDLLocation() Return the WSDL location. |
QName |
getWSDLPort() Return the WSDL Port QName. |
QName |
getWSDLPort(String pathInfo) Return the WSDL Port QName for the specified pathInfo. |
QName |
getWSDLService() Return the WSDL Service QName. |
QName |
getWSDLService(String pathInfo) Return the WSDL Service QName for the specified pathInfo. |
URL |
getWSDLURL(String pathInfo) Get the URL for the WSDL definition associated with the specified provider endpoint path. |
boolean |
isMtomSupport() |
boolean |
isMtomSupport(String pathInfo) |
boolean |
isStreamRequestAttachments() |
boolean |
isStreamRequestAttachments(String pathInfo) |
boolean |
isStreamResponseAttachments() |
boolean |
isStreamResponseAttachments(String pathInfo) |
void |
removeProperty(String name) Remove the specified property. |
void |
removeService(String pathInfo) Remove a service associated with a given pathInfo. |
void |
setConnectionConfig(ConnectionConfig connectionConfig) |
void |
setMtomSupport(boolean mtom) |
void |
setMtomSupport(String pathInfo, boolean mtom) |
void |
setProperty(String name, String value) Set a property. |
void |
setServiceInvocationInfo(ServiceInvocationInfo svcInvocationInfo) |
void |
setStreamRequestAttachments(boolean streamRequestAttachments) |
void |
setStreamRequestAttachments(String pathInfo, boolean streamRequestAttachments) |
void |
setStreamResponseAttachments(boolean streamResponseAttachments) |
void |
setStreamResponseAttachments(String pathInfo, boolean streamResponseAttachments) |
Field Detail |
---|
static final String VALIDATE_SOAP_SCHEMA
static final String PROPAGATE_DYNAMIC_ENDPOINTS
static final String BINDING_TYPE_SOAP11
static final String BINDING_TYPE_SOAP12
Method Detail |
---|
void addService(String pathInfo, URL wsdlURL, QName wsdlPort, QName serviceName, Object policy) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.wsdlURL
- The URL of WSDL. Can be 'file://' or 'http://'. Should not be null.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.ProviderException
void addService(String pathInfo, URL wsdlURL, QName portType, QName wsdlPort, QName serviceName, Object policy) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.wsdlURL
- The URL of WSDL. Can be 'file://' or 'http://'. Should not be null.portType
- The port type.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.ProviderException
void addService(String pathInfo, Definition definition, QName wsdlPort, QName serviceName, Object policy) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.definition
- The wsdl Definition (JSR 110) for the service.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.ProviderException
void addService(String pathInfo, Definition definition, QName portType, QName wsdlPort, QName serviceName, Object policy) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.definition
- The wsdl Definition (JSR 110) for the service.portType
- the wsdl port type.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.ProviderException
void addService(String pathInfo, Definition definition, QName portType, QName wsdlPort, QName serviceName, Object policy, String bindingType) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.definition
- The wsdl Definition (JSR 110) for the service.portType
- the wsdl port type.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.bindingType
- The type of the binding to be generated. Currently supported are: BINDING_TYPE_SOAP11, BINDING_TYPE_SOAP12ProviderException
void addService(String pathInfo, InputStream wsdlStream, String wsdlBaseURI, QName wsdlPort, QName serviceName, Object policy) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.wsdlStream
- The WSDL input stream.wsdlBaseURI
- The base URI for the WSDL.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.ProviderException
void addService(String pathInfo, InputStream wsdlStream, String wsdlBaseURI, QName portType, QName wsdlPort, QName serviceName, Object policy) throws ProviderException
pathInfo
- Extra path information associated with the URL the client sent when it made this request. The extra path information follows the servlet path but precedes the query string and will start with a "/" character. Should not be null.wsdlStream
- The WSDL input stream.wsdlBaseURI
- The base URI for the WSDL.portType
- The port type.wsdlPort
- QName of the WSDL port. Can be null.serviceName
- QName of the WSDL service. Can be null.policy
- Policy file. Can be null.ProviderException
void removeService(String pathInfo)
pathInfo
- The pathInfo of the service to remove.Object getContainerContext()
String getProviderName()
String getWSDLLocation()
QName getWSDLPort()
QName getWSDLPort(String pathInfo)
QName getWSDLService()
QName getWSDLService(String pathInfo)
boolean containsProperty(String name)
oracle-webservices.xml
, or dynamically set by the provider implementation (e.g. in the init() method).name
- Name of the property of interest.String getProperty(String name)
name
- Name of the property of interest.Iterator getPropertyNames()
void removeProperty(String name)
name
- The name of property to be removed.void setProperty(String name, String value)
name
- The name of a propertyvalue
- The associated property valueURL getWSDLURL(String pathInfo)
pathInfo
- The path associated with a dynamically added provider endpoint (see Provider.addService
). Specify null to get the URL for the WSDL definition associated with this provider by its deployment descriptor (oracle-webservices.xml
) entry.ProviderInterceptorPipeline getProviderInterceptorPipeline(String pathInfo)
pathInfo
- The pathInfo for the endpoint of interest.DynamicEndpointNameHelper getDynamicEndpointNameHelper(String pathInfo, String portName)
oracle.j2ee.ws.common.management.DatabindingStatisticsCollector getStatsCollector()
Iterator getProviderEndpointPaths()
Definition getWSDL(String pathInfo)
pathInfo
- the pathInfo for a dynanmic endpoint or null for the static endpoint.Model getModel(String pathInfo) throws IOException, MddsException, WSDLException
IOException
MddsException
WSDLException
Model getModel(String pathInfo, MddsErrorHandler errHandler) throws IOException, MddsException, WSDLException
IOException
MddsException
WSDLException
boolean isStreamRequestAttachments()
void setStreamRequestAttachments(boolean streamRequestAttachments)
boolean isStreamRequestAttachments(String pathInfo)
void setStreamRequestAttachments(String pathInfo, boolean streamRequestAttachments)
boolean isStreamResponseAttachments()
void setStreamResponseAttachments(boolean streamResponseAttachments)
boolean isStreamResponseAttachments(String pathInfo)
void setStreamResponseAttachments(String pathInfo, boolean streamResponseAttachments)
boolean isMtomSupport()
void setMtomSupport(boolean mtom)
boolean isMtomSupport(String pathInfo)
void setMtomSupport(String pathInfo, boolean mtom)
ServiceInvocationInfo getServiceInvocationInfo()
void setServiceInvocationInfo(ServiceInvocationInfo svcInvocationInfo)
void setConnectionConfig(ConnectionConfig connectionConfig)
ConnectionConfig getConnectionConfig()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |