Tabnine Logo
com.arjuna.mwlabs.wst11.ba.context
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.jboss.jbossts.xts/jbossxts

public ArjunaContextImple(BACoordinator currentCoordinator)
{
  _context = null;
  initialiseContext(currentCoordinator);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Serialise the SOAP context into a DOM node.
 * @param element The element to contain the serialisation.
 * @return the element added.
 */
public Element serialiseToElement(final Element element)
{
  final Element context = context() ;
  element.appendChild(context) ;
  return context ;
}
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.xts/wstx11

private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, ArjunaContextImple arjunaContext) {
  final String identifier = arjunaContext.getTransactionIdentifier();
  return getRegistrationCoordinator(registrationCoordinatorURI, identifier);
}
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

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

public ArjunaContextImple(BACoordinator currentCoordinator)
{
  _context = null;
  initialiseContext(currentCoordinator);
}
origin: org.jboss.jbossts/jbossxts

/**
 * Serialise the SOAP context into a DOM node.
 * @param element The element to contain the serialisation.
 * @return the element added.
 */
public Element serialiseToElement(final Element element)
{
  final Element context = context() ;
  element.appendChild(context) ;
  return context ;
}
origin: org.jboss.jbossts.xts/jbossxts

private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, ArjunaContextImple arjunaContext) {
  final String identifier = arjunaContext.getTransactionIdentifier();
  return getRegistrationCoordinator(registrationCoordinatorURI, identifier);
}
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.jbossts/jbossxts

public ArjunaContextImple(BACoordinator currentCoordinator)
{
  _context = null;
  initialiseContext(currentCoordinator);
}
origin: org.jboss.jbossts.xts/wstx11

/**
 * Serialise the SOAP context into a DOM node.
 * @param element The element to contain the serialisation.
 * @return the element added.
 */
public Element serialiseToElement(final Element element)
{
  final Element context = context() ;
  element.appendChild(context) ;
  return context ;
}
origin: org.jboss.jbossts/jbossxts

private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, ArjunaContextImple arjunaContext) {
  final String identifier = arjunaContext.getTransactionIdentifier();
  return getRegistrationCoordinator(registrationCoordinatorURI, identifier);
}
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.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();
}
com.arjuna.mwlabs.wst11.ba.context

Most used classes

  • TxContextImple
  • ArjunaContextImple
    On demand this class creates the SOAP context information necessary to propagate the hierarchy of co
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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