/** * Enables a SubtransactionAwareResource to be registered as a * participant in the completion of a subtransaction. * For a top-level transaction this raises the NotSubtransaction exception. * * @param sares The SubtransactionAwareResource to be registered. * * @return * * @exception NotSubtransaction The Coordinator represents a top-level * transaction and cannot accept the registration. * * @see */ synchronized public void register_subtran_aware( SubtransactionAwareResource sares) throws NotSubtransaction { NotSubtransaction exc = new NotSubtransaction(); throw exc; }
public static org.omg.CosTransactions.NotSubtransaction read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.NotSubtransaction value = new org.omg.CosTransactions.NotSubtransaction (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.NotSubtransaction read (org.omg.CORBA.portable.InputStream istream) { org.omg.CosTransactions.NotSubtransaction value = new org.omg.CosTransactions.NotSubtransaction (); // read and discard the repository ID istream.read_string (); return value; }
public static org.omg.CosTransactions.NotSubtransaction read (final org.omg.CORBA.portable.InputStream in) { org.omg.CosTransactions.NotSubtransaction result = new org.omg.CosTransactions.NotSubtransaction(); if (!in.read_string().equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id"); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.NotSubtransaction s)
public static org.omg.CosTransactions.NotSubtransaction read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); final org.omg.CosTransactions.NotSubtransaction result = new org.omg.CosTransactions.NotSubtransaction(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.NotSubtransaction s)
public static org.omg.CosTransactions.NotSubtransaction read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); final org.omg.CosTransactions.NotSubtransaction result = new org.omg.CosTransactions.NotSubtransaction(id); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.NotSubtransaction s)
throw new NotSubtransaction();