A B C D E F G H I L M N O P R S T U V

A

ABORT_ONLY - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
ABORTED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
ABORTING - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
addLinkHeader(Response.ResponseBuilder, UriInfo, String, String, String...) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
alter(AbstractRecord) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 

B

BASE_URL - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
beginTransaction(UriInfo, HttpHeaders, String) - Method in class org.jboss.jbossts.star.service.Coordinator
Performing a POST on Transaction Manager URL @see TxSupport.TX_SEGMENT with no content as shown below will start a new transaction with a default timeout.
BIND_ADDRESS - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
buildURI(UriBuilder, String...) - Static method in class org.jboss.jbossts.star.util.TxSupport
 

C

COMMITTED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
COMMITTING - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
commitTx() - Method in class org.jboss.jbossts.star.util.TxSupport
 
contextDestroyed(ServletContextEvent) - Method in class org.jboss.jbossts.star.service.ContextListener
 
contextInitialized(ServletContextEvent) - Method in class org.jboss.jbossts.star.service.ContextListener
 
ContextListener - Class in org.jboss.jbossts.star.service
 
ContextListener() - Constructor for class org.jboss.jbossts.star.service.ContextListener
 
Coordinator - Class in org.jboss.jbossts.star.service
 
Coordinator() - Constructor for class org.jboss.jbossts.star.service.Coordinator
 

D

DEF_TX_URL - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
deleteParticipant(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
deleteTransaction(String) - Method in class org.jboss.jbossts.star.service.Coordinator
Performing a DELETE on the transaction-coordinator URL will return a 403.
DO_ABORT - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
DO_COMMIT - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
doSave() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 

E

enlist(String) - Method in class org.jboss.jbossts.star.util.TxSupport
 
enlistParticipant(String, String, String, String) - Method in class org.jboss.jbossts.star.resource.Transaction
 
enlistParticipant(UriInfo, String, String) - Method in class org.jboss.jbossts.star.service.Coordinator
Register a participant in a tx
enlistUrl() - Method in class org.jboss.jbossts.star.util.TxSupport
 

F

forgetHeuristic() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
forgetParticipant(String) - Method in class org.jboss.jbossts.star.resource.Transaction
 

G

getActualResponse() - Method in error org.jboss.jbossts.star.provider.HttpResponseException
 
getAge() - Method in class org.jboss.jbossts.star.resource.Transaction
 
getAllTransactions(UriInfo) - Method in class org.jboss.jbossts.star.service.Coordinator
Performing a GET on the transaction-manager returns a list of all transaction URIs known to the coordinator (active and in recovery) separated by the @see TxSupport.URI_SEPARATOR character
getBody() - Method in error org.jboss.jbossts.star.provider.HttpResponseException
 
getBody() - Method in class org.jboss.jbossts.star.util.TxSupport
 
getClasses() - Method in class org.jboss.jbossts.star.service.TMApplication
 
getExpectedResponse() - Method in error org.jboss.jbossts.star.provider.HttpResponseException
 
getInitiator() - Method in class org.jboss.jbossts.star.resource.Transaction
 
getIntValue(String, String, int) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
getMessage() - Method in error org.jboss.jbossts.star.provider.HttpResponseException
 
getParticipants(Collection<String>) - Method in class org.jboss.jbossts.star.resource.Transaction
 
getParticipantUrls(String, String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
getRecoveryUrl() - Method in class org.jboss.jbossts.star.resource.Transaction
 
getSingletons() - Method in class org.jboss.jbossts.star.service.TMApplication
 
getStatus() - Method in class org.jboss.jbossts.star.resource.Transaction
 
getStatus(int) - Method in class org.jboss.jbossts.star.resource.Transaction
 
getStatus() - Method in class org.jboss.jbossts.star.util.TxSupport
 
getStatus(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
getStringValue(String, String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
getTransactions() - Method in class org.jboss.jbossts.star.util.TxSupport
 
getTransactionStatus(String) - Method in class org.jboss.jbossts.star.service.Coordinator
Performing a GET on the transaction url returns its status
getTransactionURIs(UriInfo, String) - Method in class org.jboss.jbossts.star.service.Coordinator
Obtain the transaction terminator and participant enlistment URIS for the specified transaction id.
getUri(UriInfo, int, String...) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
getUriBuilder(UriInfo, int, String...) - Static method in class org.jboss.jbossts.star.util.TxSupport
 

H

H_COMMIT - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
H_HAZARD - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
H_MIXED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
H_ROLLBACK - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
hasHeuristic() - Method in class org.jboss.jbossts.star.resource.Transaction
 
httpRequest(int[], String, String, String, String, Map<String, String>) - Method in class org.jboss.jbossts.star.util.TxSupport
 
HttpResponseException - Error in org.jboss.jbossts.star.provider
Exception for wrapping unexpected http response codes
HttpResponseException(Throwable, String, int, int) - Constructor for error org.jboss.jbossts.star.provider.HttpResponseException
 
HttpResponseException(Throwable, String, int[], int) - Constructor for error org.jboss.jbossts.star.provider.HttpResponseException
 
HttpResponseException(int, int) - Constructor for error org.jboss.jbossts.star.provider.HttpResponseException
 
HttpResponseMapper - Class in org.jboss.jbossts.star.provider
Maps an HttpResponseException to the HTTP code embedded in the exception
HttpResponseMapper() - Constructor for class org.jboss.jbossts.star.provider.HttpResponseMapper
 

I

isAbort(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isAborted() - Method in class org.jboss.jbossts.star.resource.Transaction
 
isActive(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isAlive() - Method in class org.jboss.jbossts.star.resource.Transaction
 
isCommit(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isComplete(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isEnlisted(String) - Method in class org.jboss.jbossts.star.resource.Transaction
Determine whether a participant is enlisted in this transaction and the commitment is not running.
isFinished() - Method in class org.jboss.jbossts.star.resource.Transaction
 
isFinishing() - Method in class org.jboss.jbossts.star.resource.Transaction
 
isHeuristic(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isPrepare(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isReadOnly(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
isRunning() - Method in class org.jboss.jbossts.star.resource.Transaction
 

L

LinkHolder - Class in org.jboss.jbossts.star.util
 
LinkHolder() - Constructor for class org.jboss.jbossts.star.util.LinkHolder
 
LinkHolder(String) - Constructor for class org.jboss.jbossts.star.util.LinkHolder
 
LOCATION_LINK - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
log - Static variable in class org.jboss.jbossts.star.resource.RESTRecord
 
log - Static variable in class org.jboss.jbossts.star.service.Coordinator
 
log - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
lookupParticipant(String) - Method in class org.jboss.jbossts.star.service.Coordinator
Get the participant url (registered during enlistParticipant) corresponding to a resource reference if the coordinator crashes - the participant list will be empty but this is ok if commit hasn't been called since the TM uses presumed abort semantics.

M

matchNames(Map<String, String>, String, String) - Static method in class org.jboss.jbossts.star.util.TxSupport
Parse a string for name=value pairs TODO java.util.Scanner might be more efficient
merge(AbstractRecord) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 

N

nestedAbort() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
nestedCommit() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
nestedOnePhaseCommit() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
nestedPrepare() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
NotFoundMapper - Class in org.jboss.jbossts.star.provider
404 mapper
NotFoundMapper() - Constructor for class org.jboss.jbossts.star.provider.NotFoundMapper
 

O

org.jboss.jbossts.star.provider - package org.jboss.jbossts.star.provider
 
org.jboss.jbossts.star.resource - package org.jboss.jbossts.star.resource
 
org.jboss.jbossts.star.service - package org.jboss.jbossts.star.service
 
org.jboss.jbossts.star.util - package org.jboss.jbossts.star.util
 

P

PARTICIPANT_LINK - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
PLAIN_MEDIA_TYPE - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
PORT - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
POST_MEDIA_TYPE - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
postParticipant(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
PREPARED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
PREPARING - Static variable in class org.jboss.jbossts.star.util.TxSupport
 

R

RC_SEGMENT - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
READONLY - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
refreshLinkHeaders(Map<String, String>) - Method in class org.jboss.jbossts.star.util.TxSupport
 
replaceParticipant(String, String) - Method in class org.jboss.jbossts.star.service.Coordinator
PUT /recovery-coordinator// - overwrite the old with (as with JTS, this will also trigger off a recovery attempt on the associated transaction) A participant may use this url to notifiy the coordinator that he has moved to a new location.
ResourceNotFoundException - Exception in org.jboss.jbossts.star.provider
404 exception
ResourceNotFoundException(String) - Constructor for exception org.jboss.jbossts.star.provider.ResourceNotFoundException
 
restore_state(InputObjectState, int) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
RESTRecord - Class in org.jboss.jbossts.star.resource
Log record for driving participants through 2PC and recoverery
RESTRecord() - Constructor for class org.jboss.jbossts.star.resource.RESTRecord
 
RESTRecord(String, String, String, String) - Constructor for class org.jboss.jbossts.star.resource.RESTRecord
 
rollbackTx() - Method in class org.jboss.jbossts.star.util.TxSupport
 
RUNNING - Static variable in class org.jboss.jbossts.star.util.TxSupport
 

S

save_state(OutputObjectState, int) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
setFault(String) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
setFault(String) - Method in class org.jboss.jbossts.star.resource.Transaction
 
setLinkHeader(Response.ResponseBuilder, String, String, String, String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
setLinkHeader(Response.ResponseBuilder, Link) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
setRecoveryUrl(String) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
setTxnMgrUrl(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
setValue(Object) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
shouldAdd(AbstractRecord) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
shouldAlter(AbstractRecord) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
shouldMerge(AbstractRecord) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
shouldReplace(AbstractRecord) - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
startTx() - Method in class org.jboss.jbossts.star.util.TxSupport
 
startTx(long) - Method in class org.jboss.jbossts.star.util.TxSupport
 
STATUS_MEDIA_TYPE - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
STATUS_PROPERTY - Static variable in class org.jboss.jbossts.star.util.TxSupport
 

T

terminateTransaction(String, String, String) - Method in class org.jboss.jbossts.star.service.Coordinator
The client can control the outcome of the transaction by by PUTing to the terminator URL returned as a response to the original transaction create request.
TERMINATOR_LINK - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TIMEOUT_PROPERTY - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TMApplication - Class in org.jboss.jbossts.star.service
 
TMApplication() - Constructor for class org.jboss.jbossts.star.service.TMApplication
 
TMUnavailableException - Exception in org.jboss.jbossts.star.provider
Unable to contact the REST based Transaction Coordinator
TMUnavailableException(String) - Constructor for exception org.jboss.jbossts.star.provider.TMUnavailableException
 
TMUnavailableMapper - Class in org.jboss.jbossts.star.provider
Map service unavailable exceptions
TMUnavailableMapper() - Constructor for class org.jboss.jbossts.star.provider.TMUnavailableMapper
 
toContent(String, String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
topLevelAbort() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
topLevelCommit() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
topLevelOnePhaseCommit() - Method in class org.jboss.jbossts.star.resource.RESTRecord
For commit_one_phase we can do whatever we want since the transaction outcome is whatever we want.
topLevelPrepare() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
toResponse(HttpResponseException) - Method in class org.jboss.jbossts.star.provider.HttpResponseMapper
 
toResponse(ResourceNotFoundException) - Method in class org.jboss.jbossts.star.provider.NotFoundMapper
 
toResponse(TMUnavailableException) - Method in class org.jboss.jbossts.star.provider.TMUnavailableMapper
 
toResponse(TransactionStatusException) - Method in class org.jboss.jbossts.star.provider.TransactionStatusMapper
 
toStatusContent(String) - Static method in class org.jboss.jbossts.star.util.TxSupport
 
Transaction - Class in org.jboss.jbossts.star.resource
 
Transaction() - Constructor for class org.jboss.jbossts.star.resource.Transaction
 
Transaction(String) - Constructor for class org.jboss.jbossts.star.resource.Transaction
 
TransactionStatusException - Exception in org.jboss.jbossts.star.provider
transaction status exception
TransactionStatusException(String) - Constructor for exception org.jboss.jbossts.star.provider.TransactionStatusException
 
TransactionStatusMapper - Class in org.jboss.jbossts.star.provider
map transaction status exceptions
TransactionStatusMapper() - Constructor for class org.jboss.jbossts.star.provider.TransactionStatusMapper
 
tt1(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
tt2(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
tt3(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
tt4(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
tt5(String) - Method in class org.jboss.jbossts.star.service.Coordinator
 
TX_ABORTED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_ACTIVE - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_COMMITTED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_CONTEXT - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_H_MIXED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_H_ROLLBACK - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_PATH - Static variable in class org.jboss.jbossts.star.util.TxSupport
The REST path prefix for the transaction and recovery coordinator URLS
TX_PREPARED - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
TX_SEGMENT - Static variable in class org.jboss.jbossts.star.util.TxSupport
The REST path for the transaction coordinator.
txCount() - Method in class org.jboss.jbossts.star.util.TxSupport
 
TXN_MGR_URL - Static variable in class org.jboss.jbossts.star.util.TxSupport
 
txStatus() - Method in class org.jboss.jbossts.star.util.TxSupport
 
TxSupport - Class in org.jboss.jbossts.star.util
Various utilities for sending HTTP messages
TxSupport(String) - Constructor for class org.jboss.jbossts.star.util.TxSupport
 
TxSupport() - Constructor for class org.jboss.jbossts.star.util.TxSupport
 
txTerminatorUrl() - Method in class org.jboss.jbossts.star.util.TxSupport
 
txUrl() - Method in class org.jboss.jbossts.star.util.TxSupport
 
type() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
typeIs() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 
typeName() - Static method in class org.jboss.jbossts.star.resource.RESTRecord
 

U

URI_SEPARATOR - Static variable in class org.jboss.jbossts.star.util.TxSupport
 

V

value() - Method in class org.jboss.jbossts.star.resource.RESTRecord
 

A B C D E F G H I L M N O P R S T U V

Copyright © 2011. All Rights Reserved.