Apache CXF API

org.apache.cxf.binding
Interface Binding

All Superinterfaces:
InterceptorProvider
All Known Implementing Classes:
ObjectBinding, SoapBinding, XMLBinding

public interface Binding
extends InterceptorProvider

A Binding provides interceptors and message creation logic for a specific protocol binding.


Method Summary
 Message createMessage()
          Create a Message for this Binding.
 Message createMessage(Message m)
          Create a Message form the messge.
 BindingInfo getBindingInfo()
          Get the BindingInfor
 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
 

Method Detail

createMessage

Message createMessage()
Create a Message for this Binding.

Returns:
the Binding message

createMessage

Message createMessage(Message m)
Create a Message form the messge.

Parameters:
m - the message used for creating a binding message
Returns:
the Binding message

getBindingInfo

BindingInfo getBindingInfo()
Get the BindingInfor

Returns:
the BingdingInfo Object

Apache CXF API

Apache CXF