org.objectweb.celtix.bindings
Class AbstractServerBinding
java.lang.Object
org.objectweb.celtix.bindings.AbstractServerBinding
- All Implemented Interfaces:
- BindingBase, ServerBinding
public abstract class AbstractServerBinding
- extends Object
- implements ServerBinding
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bus
protected final Bus bus
reference
protected final org.objectweb.celtix.addressing.EndpointReferenceType reference
transport
protected ServerTransport transport
endpoint
protected javax.xml.ws.Endpoint endpoint
AbstractServerBinding
public AbstractServerBinding(Bus b,
org.objectweb.celtix.addressing.EndpointReferenceType ref,
javax.xml.ws.Endpoint ep)
getEndpoint
public javax.xml.ws.Endpoint getEndpoint()
- Specified by:
getEndpoint
in interface ServerBinding
activate
public void activate()
throws javax.wsdl.WSDLException,
IOException
- Specified by:
activate
in interface ServerBinding
- Throws:
javax.wsdl.WSDLException
IOException
deactivate
public void deactivate()
throws IOException
- Specified by:
deactivate
in interface ServerBinding
- Throws:
IOException
createObjectContext
public ObjectMessageContext createObjectContext()
- Description copied from interface:
BindingBase
- Create an
ObjectMessageContext
to hold objects of a message.
- Specified by:
createObjectContext
in interface BindingBase
- Returns:
- The newly created ObjectMessageContext.
getDefaultTransportFactory
protected abstract TransportFactory getDefaultTransportFactory(String address)
createBindingMessageContext
protected abstract javax.xml.ws.handler.MessageContext createBindingMessageContext(javax.xml.ws.handler.MessageContext orig)
marshal
protected abstract void marshal(ObjectMessageContext objCtx,
javax.xml.ws.handler.MessageContext replyCtx)
unmarshal
protected void unmarshal(javax.xml.ws.handler.MessageContext requestCtx,
ObjectMessageContext objCtx)
write
protected abstract void write(javax.xml.ws.handler.MessageContext replyCtx,
OutputStreamMessageContext outCtx)
throws IOException
- Throws:
IOException
read
protected abstract void read(InputStreamMessageContext inCtx,
javax.xml.ws.handler.MessageContext context)
throws IOException
- Throws:
IOException
invokeOnProvider
protected abstract javax.xml.ws.handler.MessageContext invokeOnProvider(javax.xml.ws.handler.MessageContext requestCtx,
javax.xml.ws.ServiceMode mode)
throws RemoteException
- Throws:
RemoteException
getOperationName
protected abstract QName getOperationName(javax.xml.ws.handler.MessageContext ctx)