Package org.omg.CosTransactions

Examples of org.omg.CosTransactions.Control


        if (! contexts.containsKey(current))
            throw new NoTransaction();
        try
        {
            Control control = (Control) contexts.get(current);
            control.get_terminator().rollback();
  
            control._release();

            removeContext(current);
        }
        catch (Exception e)
        {
View Full Code Here


        if (! contexts.containsKey(current))
            throw new NoTransaction();
        try
        {
            Control control = (Control) contexts.get(current);
            control.get_coordinator().rollback_only();      
            control._release();

            removeContext(current);
        }
        catch (Exception e){
            if (logger.isDebugEnabled())
View Full Code Here

        timeouts.put(Thread.currentThread(), new Integer(seconds));
    }

    public Control suspend()
    {
        Control result = get_control();
        removeContext(Thread.currentThread());
        return result;
    }
View Full Code Here

    orb.resolve_initial_references("PICurrent");

            PropagationContext context = PropagationContextHelper.extract
                (pi_current.get_slot(slot_id));

            Control control = ControlHelper.extract(context.implementation_specific_data);
            ts_current.resume(control);
        }
        catch(Exception e)
        {
            if (logger.isDebugEnabled())
View Full Code Here

TOP

Related Classes of org.omg.CosTransactions.Control

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.