org.ow2.petals.binding.soap.addressing
Class WSAHelper

java.lang.Object
  extended by org.ow2.petals.binding.soap.addressing.WSAHelper

public class WSAHelper
extends java.lang.Object

WS-Addressing Helper. Creates the JBI information from strings.

Author:
chamerling - eBM WebSourcing

Constructor Summary
WSAHelper()
           
 
Method Summary
static Addressing getAddressing(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
          Get the addressing information from the extensions
static Addressing getAddressing(java.util.Map<javax.xml.namespace.QName,java.lang.String> map)
          Deprecated. use #org.ow2.petals.binding.soap.addressing.getAddressing(String address)
static Addressing getAddressing(java.lang.String address)
          Create an addressing object
static Addressing merge(Addressing wsAddressing, Addressing suAddressing)
          Merge the addressing beans.
static Addressing merge(Addressing wsAddressing, Addressing wsaToAddressing, Addressing suAddressing)
          Deprecated. use merge(Addressing, Addressing)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSAHelper

public WSAHelper()
Method Detail

getAddressing

public static final Addressing getAddressing(java.util.Map<javax.xml.namespace.QName,java.lang.String> map)
Deprecated. use #org.ow2.petals.binding.soap.addressing.getAddressing(String address)

Get the addressing from the map

Parameters:
map - the map properties
Returns:
the adressing

getAddressing

public static final Addressing getAddressing(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions)
Get the addressing information from the extensions

Parameters:
extensions -
Returns:
null if extensions is null or the addressing bean filled with the extensions properties.

merge

public static final Addressing merge(Addressing wsAddressing,
                                     Addressing wsaToAddressing,
                                     Addressing suAddressing)
Deprecated. use merge(Addressing, Addressing)

Merge the addressing beans. This bean is defined like this :
  1. If it exists, get the TO address from wsAddressing
  2. If it exists, get the others addresses from wsaToAddressing
  3. b>If it exists, get the others address from the service unit

Parameters:
wsAddressing - The bean from the org.ow2.petals.component.framework.api.Constants.WSStar.ADDRESSING_KEY property
wsaToAddressing - The bean from the WSA property
suAddressing - The bean from the service unit
Returns:
The bean merged *

merge

public static final Addressing merge(Addressing wsAddressing,
                                     Addressing suAddressing)
Merge the addressing beans. This bean is defined like this :
  1. If it exists, get the TO address from wsAddressing
  2. b>If it exists, get the others address from the service unit

Parameters:
wsAddressing - The bean from the org.ow2.petals.component.framework.api.Constants.WSStar.ADDRESSING_KEY property
suAddressing - The bean from the service unit
Returns:
The bean merged

getAddressing

public static Addressing getAddressing(java.lang.String address)
Create an addressing object

Parameters:
address - The address
Returns:
The Addressing object created or null if the address provided is null or empty


Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.