javax.xml.registry
Interface JAXRResponse

All Known Subinterfaces:
BulkResponse
All Known Implementing Classes:
JAXRException

public interface JAXRResponse

A JAXR requests' response.

See Also:
JAXRException

Field Summary
static int STATUS_FAILURE
           
static int STATUS_SUCCESS
           
static int STATUS_UNAVAILABLE
           
static int STATUS_WARNING
           
 
Method Summary
 java.lang.String getRequestId()
          Returns the unique id for the request that generated this response.
 int getStatus()
          Returns the status for this response.
 boolean isAvailable()
          Returns true if a response is available, false otherwise.
 

Field Detail

STATUS_SUCCESS

public static final int STATUS_SUCCESS

STATUS_WARNING

public static final int STATUS_WARNING

STATUS_FAILURE

public static final int STATUS_FAILURE

STATUS_UNAVAILABLE

public static final int STATUS_UNAVAILABLE
Method Detail

getRequestId

public java.lang.String getRequestId()
                              throws JAXRException
Returns the unique id for the request that generated this response.

Capability Level: 0

getStatus

public int getStatus()
              throws JAXRException
Returns the status for this response.

Capability Level: 0

isAvailable

public boolean isAvailable()
                    throws JAXRException
Returns true if a response is available, false otherwise. This is a polling method and must not block.

Capability Level: 0