Package org.jboss.tm

Examples of org.jboss.tm.TransactionPropagationContextFactory


    * to find out whether the invocation is part of an on going transaction and
    * might need it's target being sticky to this tx.
    */
   protected Object getTransactionPropagationContext()
   {
      TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      if (trace)
      {
         log.trace("Using tpc factory " + tpcFactory);
      }
      return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
   }
View Full Code Here


               metadata, null, null));
      }
     
      public Object getTransactionPropagationContext()
      {
         TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
         return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
      }
View Full Code Here

    * Looking at the parent implementation, none of the methods called actually
    * throw SystemException.
    */
   public Object getTransactionPropagationContext()
   {
      TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
  
View Full Code Here

    }

    public Object getTransactionPropagationContext()
          throws SystemException
    {
       TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
       return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
    }
View Full Code Here

      return "ClientTxPropagationInterceptor";
   }

   public Object invoke(Invocation invocation) throws Throwable
   {
      TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      if (tpcFactory != null)
      {
         Object tpc = tpcFactory.getTransactionPropagationContext();
         if (tpc != null)
         {
            invocation.getMetaData().addMetaData(TRANSACTION_PROPAGATION_CONTEXT, TRANSACTION_PROPAGATION_CONTEXT, tpc);
         }
      }
View Full Code Here

               metadata, null, null));
      }
     
      public Object getTransactionPropagationContext()
      {
         TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
         return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
      }
View Full Code Here

      throw new RuntimeException("Unreachable?: Service unavailable.");
   }

   private Object getTransactionPropagationContext()
   {
      TransactionPropagationContextFactory factory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      return (factory != null) ? factory.getTransactionPropagationContext() : null;
   }
View Full Code Here

      throw new RuntimeException("Unreachable?: Service unavailable.");
   }

   private Object getTransactionPropagationContext()
   {
      TransactionPropagationContextFactory factory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      return (factory != null) ? factory.getTransactionPropagationContext() : null;
   }
View Full Code Here

    *         set, or if no transaction is associated with the current thread.
    */
   public Object getTransactionPropagationContext()
      throws SystemException
   {
      TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
   }
View Full Code Here

   }

   public Object getTransactionPropagationContext()
         throws SystemException
   {
      TransactionPropagationContextFactory tpcFactory = TransactionPropagationContextUtil.getTPCFactoryClientSide();
      return (tpcFactory == null) ? null : tpcFactory.getTransactionPropagationContext();
   }
View Full Code Here

TOP

Related Classes of org.jboss.tm.TransactionPropagationContextFactory

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.