Package com.arjuna.mw.wsas.activity

Examples of com.arjuna.mw.wsas.activity.Outcome


    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new XAEnd(xid, flags));
   
    if (res != null)
    {
        if (res instanceof XAOutcome)
        {
View Full Code Here


    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new XARollback(xid));
   
    if (res != null)
    {
        if (res instanceof XAOutcome)
        {
View Full Code Here

    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new XACommit(id, onePhase));
   
    if (res != null)
    {
        if (res instanceof XAOutcome)
        {
View Full Code Here

    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new XAPrepare(xid));
   
    if (res != null)
    {
        if (res instanceof XAPrepareOutcome)
      return ((XAPrepareOutcome) res).vote();
View Full Code Here

    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new XAForget(xid));
   
    if (res != null)
    {
        if (res instanceof XAOutcome)
        {
View Full Code Here

    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new XARecover(flag));
   
    if (res != null)
    {
        if (res instanceof XARecoverOutcome)
      return ((XARecoverOutcome) res).xids();
View Full Code Here

    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new BeforeCompletion(_id));
   
    if (res != null)
    {
        if (res instanceof CoordinationOutcome)
        {
View Full Code Here

    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new AfterCompletion(_id, convertStatus(status)));
   
    if (res != null)
    {
        if (res instanceof CoordinationOutcome)
        {
View Full Code Here

      HeuristicMixedException, HeuristicHazardException,
      NoPermissionException, SystemException
  {
    try
    {
      Outcome res = UserActivityFactory.userActivity().end(Success.instance());

      /*
       * TODO
       *
       * What happens if the coordinator has already been terminated?
View Full Code Here

      CoordinatorConfirmedException, HeuristicMixedException,
      HeuristicHazardException, NoPermissionException, SystemException
  {
    try
    {
      Outcome res = UserActivityFactory.userActivity().end(Failure.instance());

      if (res != null)
      {
        if (res instanceof CompositeOutcomeImple)
          res = ((CompositeOutcomeImple) res).get(CoordinationOutcome.class.getName());
View Full Code Here

TOP

Related Classes of com.arjuna.mw.wsas.activity.Outcome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.