org.apache.axiom.soap
Interface RolePlayer

All Known Implementing Classes:
SOAPRoleTest.MyRolePlayer

public interface RolePlayer

This interface represents the thing which provides us with the SOAP roles in a given context. Used to search through SOAP header blocks.


Method Summary
 List getRoles()
          Get a list of the roles supported.
 boolean isUltimateDestination()
          Are we the ultimate destination?
 

Method Detail

getRoles

List getRoles()
Get a list of the roles supported. NOTE: the "next" role is automatically supported, and the "none" role (for SOAP 1.2) is automatically disallowed. The roles returned should only be the non-standard ones, since the ultimate destination role is also handled by the isUltimateDestination method below.

Returns:
a List containing URI Strings, one per custom role supported, or null

isUltimateDestination

boolean isUltimateDestination()
Are we the ultimate destination?

Returns:
true if this is the ultimate destination, false if an intermediary.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.