Participant.restore_state
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.arjuna.mw.wscf.model.twophase.participants.Participant.restore_state(Showing top 5 results out of 315)

  • Common ways to obtain Participant
private void myMethod () {
Participant p =
  • Class klass;(Participant) klass.newInstance()
  • ParticipantRecord participantRecord;(Participant) participantRecord.value()
  • Smart code suggestions by Codota
}
origin: org.jboss.narayana.xts/jbossxts

public boolean restore_state (InputObjectState os, int t)
{
  boolean result = super.restore_state(os, t);
  if (result)
  {
    try
    {
      String resourcehandleImplClassName = os.unpackString();
      Class clazz = ClassLoaderHelper.forName(ParticipantRecord.class, resourcehandleImplClassName);
      _resourceHandle = (Participant)clazz.newInstance();
      result = _resourceHandle.restore_state(os);
      if (result)
        _timeout = os.unpackLong();
      /*
       * TODO: unpack qualifiers and coord id.
       */
    }
    catch (Exception ex) {
      wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_13(ex);
      result = false;
    }
  }
  return result;
}
origin: org.jboss.jbossts.xts/jbossxts

public boolean restore_state (InputObjectState os, int t)
{
  boolean result = super.restore_state(os, t);
  if (result)
  {
    try
    {
      String resourcehandleImplClassName = os.unpackString();
      Class clazz = ClassLoaderHelper.forName(ParticipantRecord.class, resourcehandleImplClassName);
      _resourceHandle = (Participant)clazz.newInstance();
      result = _resourceHandle.restore_state(os);
      if (result)
        _timeout = os.unpackLong();
      /*
       * TODO: unpack qualifiers and coord id.
       */
    }
    catch (Exception ex) {
      wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_13(ex);
      result = false;
    }
  }
  return result;
}
origin: org.jboss.jbossts.xts/jbossxts

public boolean restore_state (InputObjectState os, int t)
{
  boolean result = super.restore_state(os, t);
  if (result)
  {
    try
    {
      String resourcehandleImplClassName = os.unpackString();
      Class clazz = ClassLoaderHelper.forName(ParticipantRecord.class, resourcehandleImplClassName);
      _resourceHandle = (Participant)clazz.newInstance();
      result = _resourceHandle.restore_state(os);
      if (result)
        _timeout = os.unpackLong();
      /*
       * TODO: unpack qualifiers and coord id.
       */
    }
    catch (Exception ex) {
      wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_13(ex);
      result = false;
    }
  }
  return result;
}
origin: jbosstm/narayana

public boolean restore_state (InputObjectState os, int t)
{
  boolean result = super.restore_state(os, t);
  if (result)
  {
    try
    {
      String resourcehandleImplClassName = os.unpackString();
      Class clazz = ClassLoaderHelper.forName(ParticipantRecord.class, resourcehandleImplClassName);
      _resourceHandle = (Participant)clazz.newInstance();
      result = _resourceHandle.restore_state(os);
      if (result)
        _timeout = os.unpackLong();
      /*
       * TODO: unpack qualifiers and coord id.
       */
    }
    catch (Exception ex) {
      wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_13(ex);
      result = false;
    }
  }
  return result;
}
origin: jbosstm/narayana

public boolean restore_state (InputObjectState os, int t)
{
  boolean result = super.restore_state(os, t);
  if (result)
  {
    try
    {
      String resourcehandleImplClassName = os.unpackString();
      Class clazz = ClassLoaderHelper.forName(ParticipantRecord.class, resourcehandleImplClassName);
      _resourceHandle = (Participant)clazz.newInstance();
      result = _resourceHandle.restore_state(os);
      if (result)
        _timeout = os.unpackLong();
      /*
       * TODO: unpack qualifiers and coord id.
       */
    }
    catch (Exception ex) {
      wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_13(ex);
      result = false;
    }
  }
  return result;
}
com.arjuna.mw.wscf.model.twophase.participantsParticipantrestore_state

Popular methods of Participant

  • cancel
    Cancel the participant at top-level.
  • confirm
    Confirm the participant at top-level.
  • confirmOnePhase
    Confirm the participant in a single phase.
  • forget
    Inform the participant that is can forget the heuristic result.
  • id
  • prepare
    Prepare the participant for top-level.
  • save_state

Popular classes and methods

  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Collectors (java.util.stream)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)