public void before_completion () throws org.omg.CORBA.SystemException { if (jtaxLogger.logger.isTraceEnabled()) { jtaxLogger.logger.trace("SynchronizationImple.before_completion - Class: " + _theSynch.getClass() + " HashCode: " + _theSynch.hashCode() + " toString: " + _theSynch); } if (_theSynch != null) { ClassLoader origClassLoader = this.getContextClassLoader(); try { this.setContextClassLoader(_theClassLoader); _theSynch.beforeCompletion(); } catch (Exception e) { jtaxLogger.logger.trace("SynchronizationImple.before_completion failed - toString: " + _theSynch, e); throw new UNKNOWN(); } finally { this.setContextClassLoader(origClassLoader); } } else throw new UNKNOWN(); }
public final org.omg.CosTransactions.Synchronization getSynchronization () { if (_theReference == null) { _thePOATie = getPOATie(); ORBManager.getPOA().objectIsReady(_thePOATie); _theReference = org.omg.CosTransactions.SynchronizationHelper.narrow(ORBManager.getPOA().corbaReference(_thePOATie)); } return _theReference; }
_theTransaction.registerSynchronization(synchronizationImple.getSynchronization());
public SynchronizationImple (javax.transaction.Synchronization ptr) { _theSynch = ptr; _theReference = null; _theClassLoader = this.getContextClassLoader(); }
public final org.omg.CosTransactions.Synchronization getSynchronization () { if (_theReference == null) { _thePOATie = getPOATie(); ORBManager.getPOA().objectIsReady(_thePOATie); _theReference = org.omg.CosTransactions.SynchronizationHelper.narrow(ORBManager.getPOA().corbaReference(_thePOATie)); } return _theReference; }
_theTransaction.registerSynchronization(synchronizationImple.getSynchronization());
ClassLoader origClassLoader = this.getContextClassLoader(); this.setContextClassLoader(_theClassLoader); _theSynch.afterCompletion(s); this.setContextClassLoader(origClassLoader);