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(EndpointReferenceType endpoint, ServiceMixClient client)
           
 
Method Summary
static ServiceMixClient createJaxbClient(ComponentContext context)
           
static ServiceMixClient createJaxbClient(JBIContainer container)
           
static EndpointReferenceType createWSA(String address)
           
 ServiceMixClient getClient()
           
 EndpointReferenceType getEndpoint()
           
 EndpointResolver getResolver()
           
protected  Object request(Object request)
           
static EndpointResolver resolveWSA(EndpointReferenceType ref)
           
protected  void send(Object request)
           
 void setClient(ServiceMixClient client)
           
 void setEndpoint(EndpointReferenceType endpoint)
           
 void setResolver(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(EndpointReferenceType endpoint,
                         ServiceMixClient client)
Method Detail

createWSA

public static EndpointReferenceType createWSA(String address)

createJaxbClient

public static ServiceMixClient createJaxbClient(JBIContainer container)
                                         throws JBIException,
                                                javax.xml.bind.JAXBException
Throws:
JBIException
javax.xml.bind.JAXBException

createJaxbClient

public static ServiceMixClient createJaxbClient(ComponentContext context)
                                         throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

resolveWSA

public static EndpointResolver resolveWSA(EndpointReferenceType ref)

getEndpoint

public EndpointReferenceType getEndpoint()

setEndpoint

public void setEndpoint(EndpointReferenceType endpoint)

getResolver

public EndpointResolver getResolver()

setResolver

public void setResolver(EndpointResolver resolver)

getClient

public ServiceMixClient getClient()

setClient

public void setClient(ServiceMixClient client)

request

protected Object request(Object request)
                  throws JBIException
Throws:
JBIException

send

protected void send(Object request)
             throws JBIException
Throws:
JBIException


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