congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TxContextImple.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.arjuna.mwlabs.wst11.ba.context.TxContextImple
constructor

Best Java code snippets using com.arjuna.mwlabs.wst11.ba.context.TxContextImple.<init> (Showing top 17 results out of 315)

origin: org.jboss.jbossts/jbossxts

subordinateTxContext = new TxContextImple(context);
subordinateContextMap.put(identifier, subordinateTxContext);
origin: org.jboss.jbossts.xts/jbossxts

subordinateTxContext = new TxContextImple(context);
subordinateContextMap.put(identifier, subordinateTxContext);
origin: org.jboss.jbossts.xts/wstx11

subordinateTxContext = new TxContextImple(context);
subordinateContextMap.put(identifier, subordinateTxContext);
origin: org.jboss.soa.bpel/riftsaw-bpel-runtime

CoordinationContextType cct = CoordinationContextHelper.deserialise((Element)cc.item(0).getFirstChild());
if (cct != null) {
  TxContext ctx = new TxContextImple(cct);
  BusinessActivityManager.getBusinessActivityManager().resume(ctx);
  _subordinate = true;
origin: org.jboss.jbossts/jbossxts-api

final TxContext txContext = new com.arjuna.mwlabs.wst11.ba.context.TxContextImple(cc);
BusinessActivityManagerFactory.businessActivityManager().resume(txContext) ;
origin: org.jboss.jbossts.xts/jbossxts

final TxContext txContext = new com.arjuna.mwlabs.wst11.ba.context.TxContextImple(cc);
BusinessActivityManagerFactory.businessActivityManager().resume(txContext) ;
origin: org.jboss.jbossts.xts/jbossxts

TxContext txContext = new com.arjuna.mwlabs.wst11.ba.context.TxContextImple(cc);
if (installSubordinateTx) {
  txContext = com.arjuna.mwlabs.wst11.ba.SubordinateImporter.importContext(cc);
origin: org.jboss.jbossts.xts/wstx11

public void beginSubordinate(int timeout) throws WrongStateException, SystemException
{
  try
  {
    TxContext current = _ctxManager.currentTransaction();
    if ((current == null) || !(current instanceof TxContextImple))
      throw new WrongStateException();
    TxContextImple currentImple = (TxContextImple) current;
    Context ctx = startTransaction(timeout, currentImple);
    _ctxManager.resume(new TxContextImple(ctx));
    // n.b. we don't enlist the subordinate transaction for completion
    // that ensures that any attempt to commit or rollback will fail
  }
  catch (com.arjuna.wsc.InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (com.arjuna.wst.UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts.xts/jbossxts

public void beginSubordinate(int timeout) throws WrongStateException, SystemException
{
  try
  {
    TxContext current = _ctxManager.currentTransaction();
    if ((current == null) || !(current instanceof TxContextImple))
      throw new WrongStateException();
    TxContextImple currentImple = (TxContextImple) current;
    Context ctx = startTransaction(timeout, currentImple);
    _ctxManager.resume(new TxContextImple(ctx));
    // n.b. we don't enlist the subordinate transaction for completion
    // that ensures that any attempt to commit or rollback will fail
  }
  catch (com.arjuna.wsc.InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (com.arjuna.wst.UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts/jbossxts

public void beginSubordinate(int timeout) throws WrongStateException, SystemException
{
  try
  {
    TxContext current = _ctxManager.currentTransaction();
    if ((current == null) || !(current instanceof TxContextImple))
      throw new WrongStateException();
    TxContextImple currentImple = (TxContextImple) current;
    Context ctx = startTransaction(timeout, currentImple);
    _ctxManager.resume(new TxContextImple(ctx));
    // n.b. we don't enlist the subordinate transaction for completion
    // that ensures that any attempt to commit or rollback will fail
  }
  catch (com.arjuna.wsc.InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (com.arjuna.wst.UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts.xts/wstx11

public void begin (int timeout) throws WrongStateException, SystemException
{
  try
  {
    if (_ctxManager.currentTransaction() != null)
      throw new WrongStateException();
    Context ctx = startTransaction(timeout, null);
    _ctxManager.resume(new TxContextImple(ctx));
  }
  catch (InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts.xts/jbossxts

public void begin (int timeout) throws WrongStateException, SystemException
{
  try
  {
    if (_ctxManager.currentTransaction() != null)
      throw new WrongStateException();
    Context ctx = startTransaction(timeout, null);
    _ctxManager.resume(new TxContextImple(ctx));
  }
  catch (InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts.xts/wstx11

public void begin (int timeout) throws WrongStateException, SystemException
{
  try
  {
    if (_ctxManager.currentTransaction() != null)
      throw new WrongStateException();
    Context ctx = startTransaction(timeout, null);
    _ctxManager.resume(new TxContextImple(ctx));
  }
  catch (InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts/jbossxts-api

TxContext txContext = new com.arjuna.mwlabs.wst11.ba.context.TxContextImple(cc);
if (installSubordinateTx) {
  txContext = com.arjuna.mwlabs.wst11.ba.SubordinateImporter.importContext(cc);
origin: org.jboss.jbossts.xts/jbossxts

public void begin (int timeout) throws WrongStateException, SystemException
{
  try
  {
    if (_ctxManager.currentTransaction() != null)
      throw new WrongStateException();
    Context ctx = startTransaction(timeout, null);
    _ctxManager.resume(new TxContextImple(ctx));
  }
  catch (InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts/jbossxts

public void begin (int timeout) throws WrongStateException, SystemException
{
  try
  {
    if (_ctxManager.currentTransaction() != null)
      throw new WrongStateException();
    Context ctx = startTransaction(timeout, null);
    _ctxManager.resume(new TxContextImple(ctx));
  }
  catch (InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
origin: org.jboss.jbossts/jbossxts

public void begin (int timeout) throws WrongStateException, SystemException
{
  try
  {
    if (_ctxManager.currentTransaction() != null)
      throw new WrongStateException();
    Context ctx = startTransaction(timeout, null);
    _ctxManager.resume(new TxContextImple(ctx));
  }
  catch (InvalidCreateParametersException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (UnknownTransactionException ex)
  {
    tidyup();
    throw new SystemException(ex.toString());
  }
  catch (SystemException ex)
  {
    tidyup();
    throw ex;
  }
}
com.arjuna.mwlabs.wst11.ba.contextTxContextImple<init>

Popular methods of TxContextImple

  • context
  • identifier
  • isSecure
  • valid

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JOptionPane (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now