Package com.arjuna.mw.wsas.activity

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


    {
        try
        {
            if (_resourceHandle != null)
            {
    Outcome res = _resourceHandle.processMessage(new AfterCompletion(_id, convertStatus(status)));

    if (res != null)
    {
        if (res instanceof CoordinationOutcome)
        {
View Full Code Here


    public Outcome processMessage (Message notification) throws WrongStateException, ProtocolViolationException, SystemException
    {
  if (_resource == null)
      return new CoordinationOutcome(TwoPhaseResult.FINISH_ERROR);

  Outcome result = new CoordinationOutcome(TwoPhaseResult.FINISH_ERROR);
 
  if ((notification instanceof NestedPrepare) || (notification instanceof TopLevelPrepare))
  {
      result = doPrepare(notification.qualifiers());
  }
View Full Code Here

  return true;
    }

    private final Outcome doPrepare (Qualifier[] qualifiers) throws WrongStateException, ProtocolViolationException, SystemException
    {
  Outcome result = new VoteCancel();
 
  try
  {
      com.arjuna.mw.wstx.common.Vote v = _resource.prepare(qualifiers);
     
View Full Code Here

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

    {
        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

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.