Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.jbossts.xts.initialisation;
 
A class used to perform all 1.1 participant side initialisation
    public void startup() throws Exception
    {
        // there is no WS-C coordinator startup
        // run WS-T startup code
        ParticipantInitialisation.startup();
        CoordinatorCompletionParticipantInitialisation.startup();
        ParticipantCompletionParticipantInitialisation.startup();
        WSTParticipantInitialisation.startup();
        // there is no WSCF coordinator startup
        // run WSTX startup code
        WSTXInitialisation.startup();
        // run recovery startup code
        ParticipantRecoveryInitialisation.startup();
    }
    public void shutdown() throws Exception
    {
        // run recovery shutdown code
        ParticipantRecoveryInitialisation.shutdown();
        // run WSTX shutdown code
        WSTXInitialisation.shutdown();
        // there is no WSCF coordinator shutdown
        // there is no WS-C coordinator shutdown
        // run WS-T shutdown code
        WSTParticipantInitialisation.shutdown();
        ParticipantCompletionParticipantInitialisation.shutdown();
        CoordinatorCompletionParticipantInitialisation.shutdown();
        ParticipantInitialisation.startup();
        // there is no WS-C coordinator shutdown
    }
New to GrepCode? Check out our FAQ X