Codota Logo
TxContextImple
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain TxContextImple
private void myMethod () {
TxContextImple t =
  • Codota IconContextManager contextManager;(TxContextImple) contextManager.suspend()
  • Codota IconContextManager _ctxManager;(TxContextImple) _ctxManager.currentTransaction()
  • Codota IconCoordinationContextType ctx;new TxContextImple(ctx)
  • Smart code suggestions by Codota
}
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

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/jbossxts

public boolean isSecure()
{
  if (valid()) {
    CoordinationContextType coordinationContextType = _context.getCoordinationContext();
    W3CEndpointReference epref = coordinationContextType.getRegistrationService();
    NativeEndpointReference nativeRef = EndpointHelper.transform(NativeEndpointReference.class, epref);
    String address = nativeRef.getAddress();
    return address.startsWith("https");
  }
  return false;
}
origin: org.jboss.jbossts/jbossxts

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

final String id = ctx.identifier() ;
final W3CEndpointReference terminatorCoordinatorRPC = getTerminationCoordinatorRPC(ctx) ;
origin: org.jboss.jbossts.xts/wstx11

try
  boolean isSecure = ((TxContextImple)currentTransaction()).isSecure();
  final String address = ServiceRegistry.getRegistry().getServiceURI(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, isSecure);
  final W3CEndpointReference participant = getParticipant(service, endpoint, address, id) ;
origin: org.jboss.jbossts.xts/jbossxts

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

final String id = ctx.identifier() ;
final W3CEndpointReference terminatorCoordinator = getTerminationCoordinator(ctx) ;
origin: org.jboss.jbossts.xts/jbossxts

try
  boolean isSecure = ((TxContextImple)currentTransaction()).isSecure();
  final String address = ServiceRegistry.getRegistry().getServiceURI(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, isSecure);
  final W3CEndpointReference participant = getParticipant(service, endpoint, address, id) ;
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

subordinateTxContext = new TxContextImple(context);
subordinateContextMap.put(identifier, subordinateTxContext);
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.xts/wstx11

final String id = ctx.identifier() ;
final W3CEndpointReference terminatorCoordinator = getTerminationCoordinator(ctx) ;
origin: org.jboss.jbossts/jbossxts

try
  boolean isSecure = ((TxContextImple)currentTransaction()).isSecure();
  final String address = ServiceRegistry.getRegistry().getServiceURI(BusinessActivityConstants.PARTICIPANT_COMPLETION_PARTICIPANT_SERVICE_NAME, isSecure);
  final W3CEndpointReference participant = getParticipant(service, endpoint, address, id) ;
origin: org.jboss.jbossts/jbossxts

public boolean isSecure()
{
  if (valid()) {
    CoordinationContextType coordinationContextType = _context.getCoordinationContext();
    W3CEndpointReference epref = coordinationContextType.getRegistrationService();
    NativeEndpointReference nativeRef = EndpointHelper.transform(NativeEndpointReference.class, epref);
    String address = nativeRef.getAddress();
    return address.startsWith("https");
  }
  return false;
}
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.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.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.xts/wstx11

final String id = ctx.identifier() ;
final W3CEndpointReference terminatorCoordinatorRPC = getTerminationCoordinatorRPC(ctx) ;
origin: org.jboss.jbossts.xts/jbossxts

boolean isSecure = ((TxContextImple)currentTransaction()).isSecure();
try
com.arjuna.mwlabs.wst11.ba.contextTxContextImple

Most used methods

  • <init>
  • context
  • identifier
  • isSecure
  • valid

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now