FileDocCategorySizeDatePackage
CoordinationContextInterface.javaAPI DocExample5512Tue May 29 16:57:18 BST 2007com.sun.xml.ws.tx.coordinator

CoordinationContextInterface

public interface CoordinationContextInterface
This interface hides the differences between the 2004/10 member submission and then 2006/03 OASIS versions of CoordinationContext
author
Ryan.Shoemaker@Sun.COM
version
$Revision: 1.1.8.1 $
since
1.0

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetCoordinationType()
Gets the value of the coordinationType property.

return
the value of the coordinationType

public longgetExpires()
Gets the value of the expires property in milliseconds.

return
the value of the expires property in milliseconds

public java.lang.StringgetIdentifier()
Gets the value of the identifier property.

return
the identifier value

public java.util.MapgetOtherAttributes()
Gets the underlying map that contains attributes that aren't bound to any typed property.

the map is keyed by the name of the attribute and the value is the string value of the attribute.

the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

return
always non-null

public javax.xml.ws.EndpointReferencegetRegistrationService()
Gets the value of the registrationService property.

return
the EndpointReference of the registration service

public javax.xml.ws.EndpointReferencegetRootRegistrationService()
Get the root registration service EPR

return
the root registration service epr

public java.lang.ObjectgetValue()
Return the underlying JAXB generated coordination context type.

This will either be a (@link com.sun.xml.ws.tx.webservice.member.coord.CoordinationContext} or a OASIS CoordinationContext.

return
Return the underlying JAXB generated coordination context type

public voidsetCoordinationType(java.lang.String coordinationType)
Sets the value of the coordinationType property.

param
coordinationType either {@link Constants#WSAT_2004_PROTOCOL} or {@link Constants#WSAT_OASIS_NSURI}

public voidsetExpires(long expires)
Sets the value of the expires property in milliseconds.

The expires value can not be negative. Calling setExpires(0L) unsets the underlying Expires element in the CoordinationContext.

param
expires the expires value in milliseconds

public voidsetIdentifier(java.lang.String identifier)
Sets the value of the identifier property.

param
identifier the identifier value

public voidsetRegistrationService(javax.xml.ws.EndpointReference registrationService)
Sets the value of the registrationService property.

param
registrationService the EndpointReference of the registration service

public voidsetRootCoordinatorRegistrationService(javax.xml.ws.EndpointReference rootRegistrationService)
Set the root registration service EPR for this coordination context

param
rootRegistrationService