org.apache.axiom.ts.soap.header
Class SOAPRoleTest.MyRolePlayer
java.lang.Object
org.apache.axiom.ts.soap.header.SOAPRoleTest.MyRolePlayer
- All Implemented Interfaces:
- RolePlayer
- Enclosing class:
- SOAPRoleTest
protected static class SOAPRoleTest.MyRolePlayer
- extends Object
- implements RolePlayer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPRoleTest.MyRolePlayer
public SOAPRoleTest.MyRolePlayer(boolean ultimateReceiver)
SOAPRoleTest.MyRolePlayer
public SOAPRoleTest.MyRolePlayer(boolean ultimateReceiver,
String[] roles)
getRoles
public List getRoles()
- Description copied from interface:
RolePlayer
- 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.
- Specified by:
getRoles
in interface RolePlayer
- Returns:
- a List containing URI Strings, one per custom role supported, or null
isUltimateDestination
public boolean isUltimateDestination()
- Description copied from interface:
RolePlayer
- Are we the ultimate destination?
- Specified by:
isUltimateDestination
in interface RolePlayer
- Returns:
- true if this is the ultimate destination, false if an intermediary.
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.