public ServerStrictNestedAction(ServerControl control, boolean doRegister) { super(control); if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ServerStrictNestedAction::ServerStrictNestedAction ( " + _theUid + " )"); } _registered = false; _theResource = null; if (_theControl != null) { _theResource = new org.omg.CosTransactions.SubtransactionAwareResourcePOATie( this); ORBManager.getPOA().objectIsReady(_theResource); /* * Would like to be able to attach a thread filter to this object if * process-filters aren't supported. However, currently this won't * work as we can't have two different filter types working at the * same time. ATTACH_THREAD_FILTER_(_theResource); */ if (doRegister) interposeResource(); } }
ORBManager.getPOA().objectIsReady(_theResource);
public final synchronized TransactionFactory getReference () { if (_factoryRef == null) { ORBManager.getPOA().objectIsReady(this); _factoryRef = org.omg.CosTransactions.TransactionFactoryHelper.narrow(ORBManager.getPOA().corbaReference(this)); } return _factoryRef; }
public final synchronized TransactionFactory getReference () { if (_factoryRef == null) { ORBManager.getPOA().objectIsReady(this); _factoryRef = org.omg.CosTransactions.TransactionFactoryHelper.narrow(ORBManager.getPOA().corbaReference(this)); } return _factoryRef; }
public ServerSynchronization(ServerTransaction topLevel) { ORBManager.getPOA().objectIsReady(this); _theTransaction = topLevel; _theSynchronization = org.omg.CosTransactions.SynchronizationHelper .narrow(ORBManager.getPOA().corbaReference(this)); }
public final synchronized org.omg.CosTransactions.Resource getResource() { if (_theReference == null) { ORBManager.getPOA().objectIsReady(this); _theReference = org.omg.CosTransactions.ResourceHelper .narrow(ORBManager.getPOA().corbaReference(this)); } return _theReference; }
public ServerSynchronization(ServerTransaction topLevel) { ORBManager.getPOA().objectIsReady(this); _theTransaction = topLevel; _theSynchronization = org.omg.CosTransactions.SynchronizationHelper .narrow(ORBManager.getPOA().corbaReference(this)); }
public final synchronized org.omg.CosTransactions.Resource getResource() { if (_theReference == null) { ORBManager.getPOA().objectIsReady(this); _theReference = org.omg.CosTransactions.ResourceHelper .narrow(ORBManager.getPOA().corbaReference(this)); } return _theReference; }
protected final void createTransactionHandle () { if (jtsLogger.logger.isTraceEnabled()) { jtsLogger.logger.trace("ControlImple::createTransactionHandle ()"); } /* Create/bind the 2 IDL interfaces to the same implementation */ _transactionImpl = new com.arjuna.ArjunaOTS.ArjunaTransactionPOATie( _transactionHandle); ORBManager.getPOA().objectIsReady(_transactionImpl); ArjunaTransaction transactionReference = com.arjuna.ArjunaOTS.ArjunaTransactionHelper.narrow(ORBManager.getPOA().corbaReference(_transactionImpl)); _theCoordinator = com.arjuna.ArjunaOTS.UidCoordinatorHelper.narrow(transactionReference); _theTerminator = org.omg.CosTransactions.TerminatorHelper.narrow(transactionReference); transactionReference = null; }
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; }
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; }
public Resource getReference () { if ((_resourceRef == null) && _valid) { if (_theControl != null) { _theResource = new org.omg.CosTransactions.ResourcePOATie(this); ORBManager.getPOA().objectIsReady(_theResource); _resourceRef = org.omg.CosTransactions.ResourceHelper.narrow(ORBManager.getPOA().corbaReference(_theResource)); } else _valid = false; } return _resourceRef; }
public Resource getReference () { if ((_resourceRef == null) && _valid) { if (_theControl != null) { _theResource = new org.omg.CosTransactions.ResourcePOATie(this); ORBManager.getPOA().objectIsReady(_theResource); _resourceRef = org.omg.CosTransactions.ResourceHelper.narrow(ORBManager.getPOA().corbaReference(_theResource)); } else _valid = false; } return _resourceRef; }
/** * @return the CORBA Control object. */ public final synchronized Control getControl () { /* * If we have been committed then the reference will be null. There is * no point in recreating it and in some cases (e.g., JacORB) this will * in fact cause an exception to be thrown. */ if ((_myControl == null) && (!_destroyed)) { ORBManager.getPOA().objectIsReady(this); _myControl = com.arjuna.ArjunaOTS.ActionControlHelper.narrow(ORBManager.getPOA().corbaReference(this)); } /* * In C++ we had to narrow to Control for some ORBs, despite the fact * that an ArjunaControl is a Control. Does now seem to be necessary for * Java. * * return ControlHelper.narrow(_myControl); */ return _myControl; }
/** * @return the CORBA Control object. */ public final synchronized Control getControl () { /* * If we have been committed then the reference will be null. There is * no point in recreating it and in some cases (e.g., JacORB) this will * in fact cause an exception to be thrown. */ if ((_myControl == null) && (!_destroyed)) { ORBManager.getPOA().objectIsReady(this); _myControl = com.arjuna.ArjunaOTS.ActionControlHelper.narrow(ORBManager.getPOA().corbaReference(this)); } /* * In C++ we had to narrow to Control for some ORBs, despite the fact * that an ArjunaControl is a Control. Does now seem to be necessary for * Java. * * return ControlHelper.narrow(_myControl); */ return _myControl; }
ORBManager.getPOA().objectIsReady(_theResource);
this); ORBManager.getPOA().objectIsReady(_theResource);
ORBManager.getPOA().objectIsReady(_theResource);
protected final void createTransactionHandle () { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PROTECTED, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ControlImple::createTransactionHandle ()"); } /* Create/bind the 2 IDL interfaces to the same implementation */ _transactionImpl = new com.arjuna.ArjunaOTS.ArjunaTransactionPOATie( _transactionHandle); ORBManager.getPOA().objectIsReady(_transactionImpl); ArjunaTransaction transactionReference = com.arjuna.ArjunaOTS.ArjunaTransactionHelper.narrow(ORBManager.getPOA().corbaReference(_transactionImpl)); _theCoordinator = com.arjuna.ArjunaOTS.UidCoordinatorHelper.narrow(transactionReference); _theTerminator = org.omg.CosTransactions.TerminatorHelper.narrow(transactionReference); transactionReference = null; }
ORBManager.getPOA().objectIsReady(_theResource);