org.apache.servicemix.wsn.client
Class AbstractWSAClient

java.lang.Object
  extended by org.apache.servicemix.wsn.client.AbstractWSAClient
Direct Known Subclasses:
CreatePullPoint, NotificationBroker, Publisher, PullPoint, Subscription

public abstract class AbstractWSAClient
extends Object


Constructor Summary
AbstractWSAClient()
           
AbstractWSAClient(javax.jbi.component.ComponentContext context, javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
           
 
Method Summary
static javax.xml.ws.wsaddressing.W3CEndpointReference createWSA(String address)
           
 javax.jbi.component.ComponentContext getContext()
           
 javax.xml.ws.wsaddressing.W3CEndpointReference getEndpoint()
           
 javax.jbi.servicedesc.ServiceEndpoint getServiceEndpoint()
           
static String getWSAAddress(javax.xml.ws.wsaddressing.W3CEndpointReference ref)
           
 boolean isJbiWrapped()
           
protected  Object request(Object request)
           
protected  Object request(QName operation, Object request)
           
static javax.jbi.servicedesc.ServiceEndpoint resolveWSA(javax.xml.ws.wsaddressing.W3CEndpointReference ref, javax.jbi.component.ComponentContext context)
           
protected  void send(Object request)
           
protected  void send(QName operation, Object request)
           
 void setContext(javax.jbi.component.ComponentContext context)
           
 void setEndpoint(javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
           
 void setJbiWrapped(boolean jbiWrapped)
           
 void setServiceEndpoint(javax.jbi.servicedesc.ServiceEndpoint serviceEndpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWSAClient

public AbstractWSAClient()

AbstractWSAClient

public AbstractWSAClient(javax.jbi.component.ComponentContext context,
                         javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
Method Detail

isJbiWrapped

public boolean isJbiWrapped()

setJbiWrapped

public void setJbiWrapped(boolean jbiWrapped)

createWSA

public static javax.xml.ws.wsaddressing.W3CEndpointReference createWSA(String address)

getWSAAddress

public static String getWSAAddress(javax.xml.ws.wsaddressing.W3CEndpointReference ref)

resolveWSA

public static javax.jbi.servicedesc.ServiceEndpoint resolveWSA(javax.xml.ws.wsaddressing.W3CEndpointReference ref,
                                                               javax.jbi.component.ComponentContext context)

getEndpoint

public javax.xml.ws.wsaddressing.W3CEndpointReference getEndpoint()

setEndpoint

public void setEndpoint(javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)

getServiceEndpoint

public javax.jbi.servicedesc.ServiceEndpoint getServiceEndpoint()

setServiceEndpoint

public void setServiceEndpoint(javax.jbi.servicedesc.ServiceEndpoint serviceEndpoint)

getContext

public javax.jbi.component.ComponentContext getContext()

setContext

public void setContext(javax.jbi.component.ComponentContext context)

request

protected Object request(Object request)
                  throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException

request

protected Object request(QName operation,
                         Object request)
                  throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException

send

protected void send(Object request)
             throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException

send

protected void send(QName operation,
                    Object request)
             throws javax.jbi.JBIException
Throws:
javax.jbi.JBIException


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.