protected synchronized void canDestroy () throws ActiveTransaction, ActiveThreads, BadControl, Destroyed, SystemException { canDestroy(true); }
public ControlWrapper (ControlImple impl) { _control = null; _controlImpl = impl; _checkedLocality = true; _theUid = impl.get_uid(); }
public static Control createProxy (Coordinator coordinator, Terminator terminator) { return TransactionFactoryImple.createProxy(coordinator, terminator, null); }
public Control recreate (PropagationContext ctx) throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("TransactionFactoryImple::recreate ()"); } return recreateLocal(ctx).getControl(); }
/** * Assume that a value of 0 at the client means the same at the server! */ public Control create (int time_out) throws SystemException { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("TransactionFactoryImple::create ( " + time_out + " )"); } ControlImple tranControl = createLocal(time_out); return tranControl.getControl(); }
public java.util.Map<Uid, String> getSynchronizations() { if ( _controlImpl.getImplHandle() == null) return Collections.EMPTY_MAP; else return _controlImpl.getImplHandle().getSynchronizations(); }
public Coordinator get_coordinator () throws SystemException, org.omg.CosTransactions.Unavailable { if ((_transactionHandle != null) && (_theCoordinator == null)) createTransactionHandle(); if (_theCoordinator != null) return _theCoordinator; else throw new Unavailable(); }
public TransactionFactoryImple () { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("TransactionFactoryImple::TransactionFactoryImple ()"); } _factoryRef = getReference(); }
public Control recreate (PropagationContext ctx) throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "TransactionFactoryImple::recreate ()"); } return recreateLocal(ctx).getControl(); }
/** * Assume that a value of 0 at the client means the same at the server! */ public Control create (int time_out) throws SystemException { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "TransactionFactoryImple::create ( " + time_out + " )"); } ControlImple tranControl = createLocal(time_out); return tranControl.getControl(); }
public ControlWrapper (ControlImple impl) { _control = null; _controlImpl = impl; _checkedLocality = true; _theUid = impl.get_uid(); }
public Terminator get_terminator () throws SystemException, org.omg.CosTransactions.Unavailable { if ((_transactionHandle != null) && (_theTerminator == null)) createTransactionHandle(); if (_theTerminator != null) return _theTerminator; else throw new Unavailable(); }
public TransactionFactoryImple (String name) { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("TransactionFactoryImple::TransactionFactoryImple ( " + name + " )"); } _factoryRef = getReference(); }
protected synchronized void canDestroy () throws ActiveTransaction, ActiveThreads, BadControl, Destroyed, SystemException { canDestroy(true); }
public static Control createProxy (Coordinator coordinator, Terminator terminator) { return TransactionFactoryImple.createProxy(coordinator, terminator, null); }
public String toString () { return "ControlImple < " + get_uid() + " >"; }
public Terminator get_terminator () throws SystemException, org.omg.CosTransactions.Unavailable { if ((_transactionHandle != null) && (_theTerminator == null)) createTransactionHandle(); if (_theTerminator != null) return _theTerminator; else throw new Unavailable(); }
public TransactionFactoryImple (String name) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "TransactionFactoryImple::TransactionFactoryImple ( " + name + " )"); } _factoryRef = getReference(); }
public String toString () { return "ControlImple < " + get_uid() + " >"; }
public ControlWrapper (Control c, ControlImple impl) { _control = c; _controlImpl = impl; _checkedLocality = (impl != null); _theUid = ((impl == null) ? Uid.nullUid() : impl.get_uid()); }