|
Oracle Application Server Web Services Java API Reference 10g Release 3 (10.1.3.1.0) B28977-01 |
|||||||||
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. 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 |
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, InputStream wsdlStream, String wsdlBaseURI, 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. |
boolean |
containsProperty(String name) Check whether a particular property was provided. |
Object |
getContainerContext() Return the Context of the provider container. |
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. |
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. |
void |
removeProperty(String name) Remove the specified property. |
void |
removeService(String pathInfo) Remove a service associated with a given pathInfo. |
void |
setProperty(String name, String value) Set a property. |
Field Detail |
---|
static final String VALIDATE_SOAP_SCHEMA
static final String PROPAGATE_DYNAMIC_ENDPOINTS
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, 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, 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 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.Iterator getProviderEndpointPaths()
Definition getWSDL(String pathInfo)
pathInfo
- the pathInfo for a dynanmic endpoint or null for the static endpoint.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |