com.atomikos.icatch.trmi
Class _ParticipantServer_Stub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CORBA_2_3.portable.ObjectImpl
          extended by javax.rmi.CORBA.Stub
              extended by com.atomikos.icatch.trmi._ParticipantServer_Stub
All Implemented Interfaces:
ParticipantServer, Serializable, Remote, Object

public class _ParticipantServer_Stub
extends Stub
implements ParticipantServer

See Also:
Serialized Form

Constructor Summary
_ParticipantServer_Stub()
           
 
Method Summary
 String[] _ids()
           
 HeuristicMessage[] commit(String arg0)
          Commit the participant of the given root, after prepare was sent.
 HeuristicMessage[] commitOnePhase(String arg0, int arg1, Dictionary arg2)
          Perform one-phase commit for the given root.
 void forget(String arg0)
          Forget all about a given root.
 int prepare(String arg0, int arg1, Dictionary arg2)
          Prepare the participant of the given root.
 HeuristicMessage[] rollback(String arg0)
          Rollback the participant for the given root.
 
Methods inherited from class javax.rmi.CORBA.Stub
connect, equals, hashCode, toString
 
Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl
_get_codebase
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

_ParticipantServer_Stub

public _ParticipantServer_Stub()
Method Detail

_ids

public String[] _ids()
Specified by:
_ids in class ObjectImpl

commit

public HeuristicMessage[] commit(String arg0)
                          throws HeurHazardException,
                                 HeurMixedException,
                                 HeurRollbackException,
                                 RollbackException,
                                 RemoteException
Description copied from interface: ParticipantServer
Commit the participant of the given root, after prepare was sent.

Specified by:
commit in interface ParticipantServer
Parameters:
arg0 - The String of the given root.
Throws:
HeurHazardException
HeurMixedException
HeurRollbackException
RollbackException
RemoteException
See Also:
For more info on the exceptions and return value.

commitOnePhase

public HeuristicMessage[] commitOnePhase(String arg0,
                                         int arg1,
                                         Dictionary arg2)
                                  throws HeurHazardException,
                                         HeurMixedException,
                                         HeurRollbackException,
                                         RollbackException,
                                         RemoteException
Description copied from interface: ParticipantServer
Perform one-phase commit for the given root.

Specified by:
commitOnePhase in interface ParticipantServer
Parameters:
arg0 - The root id.
arg1 - The count of siblings for the given participant.
arg2 - The info needed for orphan detection.
Throws:
HeurHazardException
HeurMixedException
HeurRollbackException
RollbackException
RemoteException

forget

public void forget(String arg0)
            throws RemoteException
Description copied from interface: ParticipantServer
Forget all about a given root.

Specified by:
forget in interface ParticipantServer
Parameters:
arg0 - The root to forget about.
Throws:
RemoteException

prepare

public int prepare(String arg0,
                   int arg1,
                   Dictionary arg2)
            throws HeurHazardException,
                   HeurMixedException,
                   RollbackException,
                   RemoteException
Description copied from interface: ParticipantServer
Prepare the participant of the given root.

Specified by:
prepare in interface ParticipantServer
Parameters:
arg0 - The root String of the participant.
arg1 - The count of siblings for the given participant.
arg2 - The list of participants to cascade to, if any.
Throws:
HeurHazardException
HeurMixedException
RollbackException
RemoteException
See Also:
For more information on the exceptions and return value.

rollback

public HeuristicMessage[] rollback(String arg0)
                            throws HeurCommitException,
                                   HeurHazardException,
                                   HeurMixedException,
                                   RemoteException
Description copied from interface: ParticipantServer
Rollback the participant for the given root.

Specified by:
rollback in interface ParticipantServer
Parameters:
arg0 - The given root.
Throws:
HeurCommitException
HeurHazardException
HeurMixedException
RemoteException
See Also:
for more exception info.


Copyright © 2012. All Rights Reserved.