use of com.arjuna.ats.internal.jta.recovery.arjunacore.RecoverConnectableAtomicAction in project narayana by jbosstm.
the class RecoverConnectableAtomicActionBean method createWrapper.
@Override
protected ActionBeanWrapperInterface createWrapper(UidWrapper w, boolean activate) {
try {
InputObjectState state = StoreManager.getRecoveryStore().read_committed(w.getUid(), RecoverConnectableAtomicAction.CONNECTABLE_ATOMIC_ACTION_TYPE);
connectableAtomicAction = new RecoverConnectableAtomicAction(RecoverConnectableAtomicAction.CONNECTABLE_ATOMIC_ACTION_TYPE, w.getUid(), state);
} catch (ObjectStoreException e) {
;
} catch (IOException e) {
;
}
GenericAtomicActionWrapper action = new GenericAtomicActionWrapper(connectableAtomicAction, w);
if (activate)
action.activate();
return action;
}
Aggregations