congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TxContextImple.context
Code IndexAdd Tabnine to your IDE (free)

How to use
context
method
in
com.arjuna.mwlabs.wst11.ba.context.TxContextImple

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

origin: org.jboss.jbossts.xts/wstx11

public boolean equals (Object obj)
{
  if (obj instanceof TxContextImple)
  {
    TxContextImple compare = (TxContextImple) obj;
    return compare.context().equals(_context);
  }
  else
    return false;
}
origin: org.jboss.jbossts.xts/jbossxts

public boolean equals (Object obj)
{
  if (obj instanceof TxContextImple)
  {
    TxContextImple compare = (TxContextImple) obj;
    return compare.context().equals(_context);
  }
  else
    return false;
}
origin: org.jboss.jbossts/jbossxts

public boolean equals (Object obj)
{
  if (obj instanceof TxContextImple)
  {
    TxContextImple compare = (TxContextImple) obj;
    return compare.context().equals(_context);
  }
  else
    return false;
}
origin: org.jboss.jbossts.xts/wstx11

/**
 * fetch the coordination context type stashed in the current BA context implememtation
 * @param current the current AT context implememtation
 * @return the coordination context type stashed in the current AT context implememtation
 */
private CoordinationContextType getContextType(TxContextImple current)
{
  ContextImple contextImple = (ContextImple)current.context();
  return contextImple.getCoordinationContext();
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * fetch the coordination context type stashed in the current BA context implememtation
 * @param current the current AT context implememtation
 * @return the coordination context type stashed in the current AT context implememtation
 */
private CoordinationContextType getContextType(TxContextImple current)
{
  ContextImple contextImple = (ContextImple)current.context();
  return contextImple.getCoordinationContext();
}
origin: org.jboss.jbossts/jbossxts

/**
 * fetch the coordination context type stashed in the current BA context implememtation
 * @param current the current AT context implememtation
 * @return the coordination context type stashed in the current AT context implememtation
 */
private CoordinationContextType getContextType(TxContextImple current)
{
  ContextImple contextImple = (ContextImple)current.context();
  return contextImple.getCoordinationContext();
}
origin: org.jboss.jbossts/jbossxts

/**
 * fetch the coordination context type stashed in the current BA context implememtation
 * @param current the current AT context implememtation
 * @return the coordination context type stashed in the current AT context implememtation
 */
private CoordinationContextType getContextType(TxContextImple current)
{
  ContextImple contextImple = (ContextImple)current.context();
  return contextImple.getCoordinationContext();
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * fetch the coordination context type stashed in the current BA context implememtation
 * @param current the current AT context implememtation
 * @return the coordination context type stashed in the current AT context implememtation
 */
private CoordinationContextType getContextType(TxContextImple current)
{
  ContextImple contextImple = (ContextImple)current.context();
  return contextImple.getCoordinationContext();
}
origin: org.jboss.jbossts.xts/wstx11

/**
 * fetch the coordination context type stashed in the current BA context implememtation
 * @param current the current AT context implememtation
 * @return the coordination context type stashed in the current AT context implememtation
 */
private CoordinationContextType getContextType(TxContextImple current)
{
  ContextImple contextImple = (ContextImple)current.context();
  return contextImple.getCoordinationContext();
}
origin: org.jboss.soa.bpel/riftsaw-bpel-runtime

public Element putCoordinationContext(Element headerElement)
    throws UnknownTransactionException, SystemException {
  resume();
  final TxContextImple txContext = (TxContextImple) BusinessActivityManager.getBusinessActivityManager().currentTransaction();
  CoordinationContextType ctx = txContext.context().getCoordinationContext();
  try {
    Document doc = headerElement.getOwnerDocument();
    Element coord = doc.createElementNS(CoordinationConstants.WSCOOR_NAMESPACE,
        CoordinationConstants.WSCOOR_ELEMENT_COORDINATION_CONTEXT);
    headerElement.appendChild(coord);
    CoordinationContextHelper.serialise(ctx, headerElement);
    
    Element parent = doc.createElementNS(CoordinationConstants.WSCOOR_NAMESPACE,
        CoordinationConstants.WSCOOR_ELEMENT_COORDINATION_CONTEXT);
    Node tmp = headerElement.getElementsByTagNameNS(CoordinationConstants.WSCOOR_NAMESPACE, CoordinationConstants.WSCOOR_ELEMENT_COORDINATION_CONTEXT).item(0);
    parent.appendChild(tmp.cloneNode(true));
    
    headerElement.replaceChild(parent, tmp);
  } catch (Exception e) {
    e.printStackTrace();
    throw new SystemException("Coordination context has not been added to the header.");
  }
  return headerElement;
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getTerminationCoordinatorRPC(final TxContextImple ctx)
  throws SystemException
{
  final CoordinationContextType coordinationContext = ctx.context().getCoordinationContext() ;
  final String messageId = MessageId.getMessageId() ;
  try
  {
    return RegistrationCoordinator.register(coordinationContext, messageId, null, ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION_RPC) ;
  }
  catch (final Throwable th)
  {
    throw new SystemException(wstxLogger.i18NLogger.get_mwlabs_wst11_ba_remote_UserBusinessActivityImple_3());
  }
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getTerminationCoordinatorRPC(final TxContextImple ctx)
  throws SystemException
{
  final CoordinationContextType coordinationContext = ctx.context().getCoordinationContext() ;
  final String messageId = MessageId.getMessageId() ;
  try
  {
    return RegistrationCoordinator.register(coordinationContext, messageId, null, ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION_RPC) ;
  }
  catch (final Throwable th)
  {
    throw new SystemException(wstxLogger.i18NLogger.get_mwlabs_wst11_ba_remote_UserBusinessActivityImple_3());
  }
}
origin: org.jboss.jbossts.xts/wstx11

private W3CEndpointReference getTerminationCoordinatorRPC(final TxContextImple ctx)
  throws SystemException
{
  final CoordinationContextType coordinationContext = ctx.context().getCoordinationContext() ;
  final String messageId = MessageId.getMessageId() ;
  try
  {
    return RegistrationCoordinator.register(coordinationContext, messageId, null, ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION_RPC) ;
  }
  catch (final Throwable th)
  {
    throw new SystemException(wstxLogger.i18NLogger.get_mwlabs_wst11_ba_remote_UserBusinessActivityImple_3());
  }
}
origin: org.jboss.jbossts.xts/jbossxts

  throw new com.arjuna.wsc.NoActivityException();
final CoordinationContextType coordinationContext = currentTx.context().getCoordinationContext() ;
final String messageId = MessageId.getMessageId() ;
return RegistrationCoordinator.register(coordinationContext, messageId, participant, protocol) ;
origin: org.jboss.jbossts.xts/wstx11

  throw new com.arjuna.wsc.NoActivityException();
final CoordinationContextType coordinationContext = currentTx.context().getCoordinationContext() ;
final String messageId = MessageId.getMessageId() ;
return RegistrationCoordinator.register(coordinationContext, messageId, participant, protocol) ;
origin: org.jboss.jbossts/jbossxts

  throw new com.arjuna.wsc.NoActivityException();
final CoordinationContextType coordinationContext = currentTx.context().getCoordinationContext() ;
final String messageId = MessageId.getMessageId() ;
return RegistrationCoordinator.register(coordinationContext, messageId, participant, protocol) ;
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getTerminationCoordinator(final TxContextImple ctx)
  throws SystemException
{
  final CoordinationContextType coordinationContext = ctx.context().getCoordinationContext() ;
  final String messageId = MessageId.getMessageId() ;
  try
  {
    return RegistrationCoordinator.register(coordinationContext, messageId,
      getParticipantProtocolService(ctx.identifier(), ctx.isSecure()), com.arjuna.webservices.wsarjtx.ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION) ;
  }
  catch (final Throwable th)
  {
    throw new SystemException(wstxLogger.i18NLogger.get_mwlabs_wst11_ba_remote_UserBusinessActivityImple_3());
  }
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getTerminationCoordinator(final TxContextImple ctx)
  throws SystemException
{
  final CoordinationContextType coordinationContext = ctx.context().getCoordinationContext() ;
  final String messageId = MessageId.getMessageId() ;
  try
  {
    return RegistrationCoordinator.register(coordinationContext, messageId,
      getParticipantProtocolService(ctx.identifier(), ctx.isSecure()), com.arjuna.webservices.wsarjtx.ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION) ;
  }
  catch (final Throwable th)
  {
    throw new SystemException(wstxLogger.i18NLogger.get_mwlabs_wst11_ba_remote_UserBusinessActivityImple_3());
  }
}
origin: org.jboss.jbossts.xts/wstx11

private W3CEndpointReference getTerminationCoordinator(final TxContextImple ctx)
  throws SystemException
{
  final CoordinationContextType coordinationContext = ctx.context().getCoordinationContext() ;
  final String messageId = MessageId.getMessageId() ;
  try
  {
    return RegistrationCoordinator.register(coordinationContext, messageId,
      getParticipantProtocolService(ctx.identifier(), ctx.isSecure()), com.arjuna.webservices.wsarjtx.ArjunaTXConstants.WSARJTX_PROTOCOL_TERMINATION) ;
  }
  catch (final Throwable th)
  {
    throw new SystemException(wstxLogger.i18NLogger.get_mwlabs_wst11_ba_remote_UserBusinessActivityImple_3());
  }
}
origin: org.jboss.jbossts/jbossxts-api

baContext = (txContext == null ? null : txContext.context()) ;
com.arjuna.mwlabs.wst11.ba.contextTxContextImplecontext

Popular methods of TxContextImple

  • <init>
  • identifier
  • isSecure
  • valid

Popular in Java

  • Reactive rest calls using spring rest template
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JPanel (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • PhpStorm for WordPress
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