congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
InstanceIdentifier.setEndpointInstanceIdentifier
Code IndexAdd Tabnine to your IDE (free)

How to use
setEndpointInstanceIdentifier
method
in
com.arjuna.webservices11.wsarj.InstanceIdentifier

Best Java code snippets using com.arjuna.webservices11.wsarj.InstanceIdentifier.setEndpointInstanceIdentifier (Showing top 20 results out of 315)

origin: org.jboss.jbossts/jbossxts

/**
* Set the identifier on a WS Addressing endpoint reference under construction.
* @param epReference The WS Addressing endpoint reference.
* @param instanceIdentifier The identifier.
*/
public static void setEndpointInstanceIdentifier(final MAPEndpoint epReference, final InstanceIdentifier instanceIdentifier)
{
  setEndpointInstanceIdentifier(epReference, instanceIdentifier.getInstanceIdentifier());
}
origin: org.jboss.narayana.xts/ws-c11

/**
* Set the identifier on a WS Addressing endpoint reference under construction.
* @param epReference The WS Addressing endpoint reference.
* @param instanceIdentifier The identifier.
*/
public static void setEndpointInstanceIdentifier(final MAPEndpoint epReference, final InstanceIdentifier instanceIdentifier)
{
  setEndpointInstanceIdentifier(epReference, instanceIdentifier.getInstanceIdentifier());
}
origin: org.jboss.jbossts.xts/jbossxts

/**
* Set the identifier on a WS Addressing endpoint reference under construction.
* @param epReference The WS Addressing endpoint reference.
* @param instanceIdentifier The identifier.
*/
public static void setEndpointInstanceIdentifier(final MAPEndpoint epReference, final InstanceIdentifier instanceIdentifier)
{
  setEndpointInstanceIdentifier(epReference, instanceIdentifier.getInstanceIdentifier());
}
origin: jbosstm/narayana

/**
* Set the identifier on a WS Addressing endpoint reference under construction.
* @param epReference The WS Addressing endpoint reference.
* @param instanceIdentifier The identifier.
*/
public static void setEndpointInstanceIdentifier(final MAPEndpoint epReference, final InstanceIdentifier instanceIdentifier)
{
  setEndpointInstanceIdentifier(epReference, instanceIdentifier.getInstanceIdentifier());
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getParticipant(final QName service, final QName endpoint, final String address, final String id)
{
  final W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(service);
  builder.endpointName(endpoint);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getParticipant(final QName service, final QName endpoint, final String address, final String id)
{
  final W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(service);
  builder.endpointName(endpoint);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getParticipantManager (final QName serviceName, final QName endpointName, final String address, final String id)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getParticipantManager (final QName serviceName, final QName endpointName, final String address, final String id)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, String identifier) {
  final W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(CoordinationConstants.REGISTRATION_SERVICE_QNAME);
  builder.endpointName(CoordinationConstants.REGISTRATION_ENDPOINT_QNAME);
  // strictly we shouldn't need to set the address because we are in the same web app as the
  // coordinator but we have to as the W3CEndpointReference implementation is incomplete
  builder.address(registrationCoordinatorURI);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, identifier);
  W3CEndpointReference registrationCoordinator = builder.build();
  return registrationCoordinator;
}
origin: org.jboss.jbossts/jbossxts

private static W3CEndpointReference getRegistrationCoordinator(String registrationCoordinatorURI, String identifier)
{
  final W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(CoordinationConstants.REGISTRATION_SERVICE_QNAME);
  builder.endpointName(CoordinationConstants.REGISTRATION_ENDPOINT_QNAME);
  // strictly we shouldn't need to set the address because we are in the same web app as the
  // coordinator but we have to as the W3CEndpointReference implementation is incomplete
  builder.address(registrationCoordinatorURI);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, identifier);
  W3CEndpointReference registrationCoordinator = builder.build();
  return registrationCoordinator;
}
origin: org.jboss.narayana.xts/ws-c11

public static void installFaultTo(MAP map, MAPEndpoint epReference, InstanceIdentifier identifier)
{
  MAPBuilder builder = MAPBuilderFactory.getInstance().getBuilderInstance();
  MAPEndpoint from = builder.newEndpoint(epReference.getAddress());
  InstanceIdentifier.setEndpointInstanceIdentifier(from, identifier);
  map.setFaultTo(from);
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getParticipant(final String id, final boolean isSecure)
{
  final QName serviceName = AtomicTransactionConstants.PARTICIPANT_SERVICE_QNAME;
  final QName endpointName = AtomicTransactionConstants.PARTICIPANT_PORT_QNAME;
  final String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, isSecure);
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getCompletionCoordinatorRPC(final InstanceIdentifier instanceIdentifier, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, instanceIdentifier);
  return builder.build();
}
origin: org.jboss.jbossts.xts/wstx11

final W3CEndpointReference getParticipant(final String id, final boolean isSecure)
{
  final QName serviceName = AtomicTransactionConstants.PARTICIPANT_SERVICE_QNAME;
  final QName endpointName = AtomicTransactionConstants.PARTICIPANT_PORT_QNAME;
  final String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, isSecure);
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getCompletionCoordinatorRPC(final InstanceIdentifier instanceIdentifier, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, instanceIdentifier);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

final W3CEndpointReference getParticipant(final String id, final boolean isSecure)
{
  final QName serviceName = AtomicTransactionConstants.PARTICIPANT_SERVICE_QNAME;
  final QName endpointName = AtomicTransactionConstants.PARTICIPANT_PORT_QNAME;
  final String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, isSecure);
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getParticipant(final String id, final boolean isSecure)
{
  final QName serviceName = AtomicTransactionConstants.PARTICIPANT_SERVICE_QNAME;
  final QName endpointName = AtomicTransactionConstants.PARTICIPANT_PORT_QNAME;
  final String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, isSecure);
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.jbossts.xts/wstx11

private W3CEndpointReference getCompletionCoordinator(final InstanceIdentifier instanceIdentifier, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COMPLETION_COORDINATOR_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COMPLETION_COORDINATOR_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COMPLETION_COORDINATOR_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, instanceIdentifier);
  return builder.build();
}
origin: org.jboss.jbossts.xts/wstx11

private W3CEndpointReference getCompletionCoordinatorRPC(final InstanceIdentifier instanceIdentifier, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COMPLETION_COORDINATOR_RPC_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, instanceIdentifier);
  return builder.build();
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getCoordinator(final String participantId, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COORDINATOR_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COORDINATOR_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COORDINATOR_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, participantId);
  return builder.build();
}
com.arjuna.webservices11.wsarjInstanceIdentifiersetEndpointInstanceIdentifier

Javadoc

Set the identifier on a W3C endpoint reference under construction.

Popular methods of InstanceIdentifier

  • getInstanceIdentifier
    Get the instance identifier of this element.
  • <init>
    Construct an instance identifier with the specific identifier
  • createInstanceIdentifierElement
    Create a SOAPElement representing an InstanceIdentifier
  • isValid
    Is the configuration of this element valid?
  • toString
    Get a string representation of this instance identifier.

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • ImageIO (javax.imageio)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Sublime Text plugins
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