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.xml.ws.wsaddressing.W3CEndpointReference endpoint, org.apache.servicemix.client.ServiceMixClient client)
           
 
Method Summary
static org.apache.servicemix.client.ServiceMixClient createJaxbClient(javax.jbi.component.ComponentContext context)
           
static org.apache.servicemix.client.ServiceMixClient createJaxbClient(org.apache.servicemix.jbi.container.JBIContainer container)
           
static javax.xml.ws.wsaddressing.W3CEndpointReference createWSA(String address)
           
 org.apache.servicemix.client.ServiceMixClient getClient()
           
 javax.xml.ws.wsaddressing.W3CEndpointReference getEndpoint()
           
 org.apache.servicemix.jbi.resolver.EndpointResolver getResolver()
           
static String getWSAAddress(javax.xml.ws.wsaddressing.W3CEndpointReference ref)
           
protected  Object request(Object request)
           
static org.apache.servicemix.jbi.resolver.EndpointResolver resolveWSA(javax.xml.ws.wsaddressing.W3CEndpointReference ref)
           
protected  void send(Object request)
           
 void setClient(org.apache.servicemix.client.ServiceMixClient client)
           
 void setEndpoint(javax.xml.ws.wsaddressing.W3CEndpointReference endpoint)
           
 void setResolver(org.apache.servicemix.jbi.resolver.EndpointResolver resolver)
           
 
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.xml.ws.wsaddressing.W3CEndpointReference endpoint,
                         org.apache.servicemix.client.ServiceMixClient client)
Method Detail

createWSA

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

getWSAAddress

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

createJaxbClient

public static org.apache.servicemix.client.ServiceMixClient createJaxbClient(org.apache.servicemix.jbi.container.JBIContainer container)
                                                                      throws javax.jbi.JBIException,
                                                                             javax.xml.bind.JAXBException
Throws:
javax.jbi.JBIException
javax.xml.bind.JAXBException

createJaxbClient

public static org.apache.servicemix.client.ServiceMixClient createJaxbClient(javax.jbi.component.ComponentContext context)
                                                                      throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

resolveWSA

public static org.apache.servicemix.jbi.resolver.EndpointResolver resolveWSA(javax.xml.ws.wsaddressing.W3CEndpointReference ref)

getEndpoint

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

setEndpoint

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

getResolver

public org.apache.servicemix.jbi.resolver.EndpointResolver getResolver()

setResolver

public void setResolver(org.apache.servicemix.jbi.resolver.EndpointResolver resolver)

getClient

public org.apache.servicemix.client.ServiceMixClient getClient()

setClient

public void setClient(org.apache.servicemix.client.ServiceMixClient client)

request

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

send

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


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