org.apache.servicemix.soap.core.model
Class AbstractBinding<T extends Operation>

java.lang.Object
  extended by org.apache.servicemix.soap.core.AbstractInterceptorProvider
      extended by org.apache.servicemix.soap.core.model.AbstractBinding<T>
All Implemented Interfaces:
InterceptorProvider, Binding<T>
Direct Known Subclasses:
AbstractWsdl1Binding, AbstractWsdl2Binding, Wsdl1JbiBindingImpl, Wsdl1SoapBindingImpl, Wsdl2HttpBindingImpl, Wsdl2SoapBindingImpl

public class AbstractBinding<T extends Operation>
extends AbstractInterceptorProvider
implements Binding<T>

Author:
Guillaume Nodet

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.servicemix.soap.api.InterceptorProvider
InterceptorProvider.Phase
 
Constructor Summary
AbstractBinding()
           
 
Method Summary
 void addOperation(T operation)
           
 Message createMessage()
           
 Message createMessage(Message request)
           
 InterceptorChain getInterceptorChain(InterceptorProvider.Phase phase)
           
 javax.xml.namespace.QName getInterfaceName()
           
 java.lang.String getLocation()
           
 T getOperation(javax.xml.namespace.QName name)
           
 java.util.Collection<T> getOperations()
           
 void setInterfaceName(javax.xml.namespace.QName interfaceName)
           
 void setLocation(java.lang.String location)
           
 
Methods inherited from class org.apache.servicemix.soap.core.AbstractInterceptorProvider
getInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.servicemix.soap.api.InterceptorProvider
getInterceptors
 

Constructor Detail

AbstractBinding

public AbstractBinding()
Method Detail

createMessage

public Message createMessage()
Specified by:
createMessage in interface Binding<T extends Operation>

createMessage

public Message createMessage(Message request)
Specified by:
createMessage in interface Binding<T extends Operation>

getInterceptorChain

public InterceptorChain getInterceptorChain(InterceptorProvider.Phase phase)
Specified by:
getInterceptorChain in interface Binding<T extends Operation>

getInterfaceName

public javax.xml.namespace.QName getInterfaceName()
Specified by:
getInterfaceName in interface Binding<T extends Operation>

setInterfaceName

public void setInterfaceName(javax.xml.namespace.QName interfaceName)

getOperation

public T getOperation(javax.xml.namespace.QName name)
Specified by:
getOperation in interface Binding<T extends Operation>

getOperations

public java.util.Collection<T> getOperations()
Specified by:
getOperations in interface Binding<T extends Operation>

addOperation

public void addOperation(T operation)

getLocation

public java.lang.String getLocation()
Specified by:
getLocation in interface Binding<T extends Operation>
Returns:
the location

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - the location to set


Copyright © 2005-2015 FuseSource. All Rights Reserved.