congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TxContextImple
Code IndexAdd Tabnine 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)

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

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top 25 Plugins for Webstorm
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