|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportCustomBindingProvider
Represents a class responsible for facilitating in generating the extensible elements of SOAP binding or all the elements of custom BEA (OSB) binding used during generation of effective WSDL for WSDL-based transports.
The object can facilitate in generation of following information:
This is an option interface to implement. Non WSDL transports need not implement it. Also WSDL transports may skip implementing it. In that case OSB will generate defaults for every element described above. Refer to OSB documentation for specifics on the defaults.
Just have your TransportProvider
implementation class implement this interface as well. No separate registration needed.
TransportProvider
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getEndPointAddress(EndPointConfiguration endpoint, BindingTypeInfo.BindingTypeEnum bindingType, Ref serviceRef) Gets the end point address for the port configured for the given endpoint and binding type. |
java.lang.String |
getIdentifierURI(EndPointConfiguration endpoint, BindingTypeInfo.BindingTypeEnum bindingType, Ref serviceRef) Gets the unique transport URI for this transport. |
Method Detail |
---|
java.lang.String getIdentifierURI(EndPointConfiguration endpoint, BindingTypeInfo.BindingTypeEnum bindingType, Ref serviceRef)
The namespace could differ depending on the data format binding, e.g. SOAP or XML.
If the method does return null or the transport provider does not implement this interface then the system will use default using the following logic.
endpoint
- the endpoint configuration for which the transport URI is required.bindingType
- metadata about the desired binding @return the unique transport URI. If null default value will be inserted.serviceRef
- service reference may be null. The system will pass in this value whenever avaialable. Sometimes (e.g. during offline design time) the service resource may not have been saved yet so this could be null. Be careful when using it.java.util.List<java.lang.String> getEndPointAddress(EndPointConfiguration endpoint, BindingTypeInfo.BindingTypeEnum bindingType, Ref serviceRef)
For proxy service ONLY the first address of the list is used. OSB will generate one port address element under the service element using the first address of the list for the proxy service.
For business service the method can return more than one end point address. OSB will generate one port address element under service element per address returned by this method for business service.
If the method does return null or the transport provider does not implement this interface then the system will use defaults.
For proxy service the system just uses the first end point uri on the end point configuration. For business service the system uses all the end point uris on the end point configuration.
endpoint
- the endpoint configuration for which the URI is to be generated.bindingType
- metadata about the desired bindingserviceRef
- service reference may be null. The system will pass in this value whenever avaialable. Sometimes (e.g. during offline design time) the service resource may not have been saved yet so this could be null. Be careful when using it.
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |