public class ServerTopLevelAction extends ServerResource implements ResourceOperations
| Modifier and Type | Field and Description |
|---|---|
protected Resource |
_resourceRef |
protected ResourcePOATie |
_theResource |
_children, _destroyed, _parent, _theControl, _theUid, _valid| Modifier | Constructor and Description |
|---|---|
protected |
ServerTopLevelAction() |
|
ServerTopLevelAction(ServerControl control) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit_one_phase() |
void |
commit() |
protected void |
destroyResource() |
void |
forget() |
Resource |
getReference() |
boolean |
isTransactionInactive() |
Vote |
prepare() |
protected boolean |
registerResource(Coordinator theCoordinator) |
void |
rollback() |
String |
type() |
abortChild, addChild, control, destroyed, finalize, get_uid, getChild, getChildren, getChildren, getParentHandle, interposeResource, otsStatus, removeChild, setParentHandle, tidyup, validprotected ResourcePOATie _theResource
protected Resource _resourceRef
public ServerTopLevelAction(ServerControl control)
protected ServerTopLevelAction()
public Resource getReference()
public Vote prepare() throws HeuristicMixed, HeuristicHazard, SystemException
prepare in interface ResourceOperationsHeuristicMixedHeuristicHazardSystemExceptionpublic void rollback()
throws HeuristicCommit,
HeuristicMixed,
HeuristicHazard,
SystemException
rollback in interface ResourceOperationsHeuristicCommitHeuristicMixedHeuristicHazardSystemExceptionpublic void commit()
throws NotPrepared,
HeuristicRollback,
HeuristicMixed,
HeuristicHazard,
SystemException
commit in interface ResourceOperationsNotPreparedHeuristicRollbackHeuristicMixedHeuristicHazardSystemExceptionpublic void forget()
throws SystemException
forget in interface ResourceOperationsSystemExceptionpublic void commit_one_phase()
throws HeuristicHazard,
SystemException
commit_one_phase in interface ResourceOperationsHeuristicHazardSystemExceptionpublic String type()
protected void destroyResource()
protected boolean registerResource(Coordinator theCoordinator)
public boolean isTransactionInactive()
Copyright © 2014 JBoss by Red Hat. All rights reserved.