public static org.omg.CosTransactions.TransIdentity read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.TransIdentity result = new org.omg.CosTransactions.TransIdentity(); result.coord=org.omg.CosTransactions.CoordinatorHelper.read(in); result.term=org.omg.CosTransactions.TerminatorHelper.read(in); result.otid=org.omg.CosTransactions.otid_tHelper.read(in); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.TransIdentity s)
public static org.omg.CosTransactions.TransIdentity read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.TransIdentity result = new org.omg.CosTransactions.TransIdentity(); result.coord=org.omg.CosTransactions.CoordinatorHelper.read(in); result.term=org.omg.CosTransactions.TerminatorHelper.read(in); result.otid=org.omg.CosTransactions.otid_tHelper.read(in); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.TransIdentity s)
public static org.omg.CosTransactions.TransIdentity read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.TransIdentity result = new org.omg.CosTransactions.TransIdentity(); result.coord=org.omg.CosTransactions.CoordinatorHelper.read(in); result.term=org.omg.CosTransactions.TerminatorHelper.read(in); result.otid=org.omg.CosTransactions.otid_tHelper.read(in); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.TransIdentity s)
public static org.omg.CosTransactions.TransIdentity read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.TransIdentity value = new org.omg.CosTransactions.TransIdentity (); value.coord = org.omg.CosTransactions.CoordinatorHelper.read (istream); value.term = org.omg.CosTransactions.TerminatorHelper.read (istream); value.otid = org.omg.CosTransactions.otid_tHelper.read (istream); return value; }
public static org.omg.CosTransactions.TransIdentity read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.TransIdentity value = new org.omg.CosTransactions.TransIdentity (); value.coord = org.omg.CosTransactions.CoordinatorHelper.read (istream); value.term = org.omg.CosTransactions.TerminatorHelper.read (istream); value.otid = org.omg.CosTransactions.otid_tHelper.read (istream); return value; }
public static void setOrb(ORB orb) { txOrb = orb; Any any = txOrb.create_any(); any.insert_boolean(false); nullContext = new PropagationContext( 0, new TransIdentity(null, null, new otid_t(0, 0, new byte[0])), new TransIdentity[0], any); any.insert_boolean(true); dummyContext = new PropagationContext( -1, new TransIdentity(null, null, new otid_t(-1, 0, new byte[0])), new TransIdentity[0], any); try { rfm = (ReferenceFactoryManager)orb.resolve_initial_references( ORBConstants.REFERENCE_FACTORY_MANAGER ) ; } catch (Exception ex) { _logger.log(Level.WARNING,ex.getMessage(), ex); } }
/** * Returns the sequence of ancestors of the transaction. * * @param * * @return The sequence of ancestors. * * @see */ synchronized public TransIdentity[] getAncestors() { CoordinatorImpl[] coords = nestingInfo.getAncestors(); TransIdentity[] result = new TransIdentity[coords.length]; for (int i = 0; i < coords.length; i++) { try { result[i] = new TransIdentity(coords[i].object(), null, coords[i].getGlobalTID()); } catch (Throwable exc) {} } return result; }
new TransIdentity(control.get_coordinator(), control.get_terminator(), new otid_t(0, 0, new byte[0]));
TransIdentity id = new TransIdentity(control.get_coordinator(), control.get_terminator(), new otid_t(0, 0, new byte[0]));
public TransIdentity getTransIdentity() { return new TransIdentity(CoordinatorHelper.narrow(ORBManager.getORB().orb().string_to_object(_coordinator)), _terminator == null ? null : TerminatorHelper.narrow(ORBManager.getORB().orb().string_to_object(_terminator)), _otid); }
public TransIdentity getTransIdentity() { return new TransIdentity(CoordinatorHelper.narrow(ORBManager.getORB().orb().string_to_object(_coordinator)), _terminator == null ? null : TerminatorHelper.narrow(ORBManager.getORB().orb().string_to_object(_terminator)), _otid); }
TransIdentity current = new TransIdentity(this.object(), null, superInfo.globalTID.realTID);
holder.value = new PropagationContext(0,new TransIdentity(null,null,importedTID.realTID), new TransIdentity[0],emptyContext.implementation_specific_data);
context.current = new TransIdentity(); context.parents[index] = new TransIdentity(); context.parents[index].coord = currentControl.get_coordinator();
TransIdentity current = new TransIdentity(this.object(), null, superInfo.globalTID.realTID);
context.current = new TransIdentity(); context.parents[index] = new TransIdentity(); context.parents[index].coord = currentControl.get_coordinator();