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 coordinator side initialisation
    public void startup() throws Exception
    {
        // run WS-C initialisation code
        ActivationCoordinatorInitialisation.startup();
        RegistrationCoordinatorInitialisation.startup();
        CoordinationInitialisation.startup();
        // run WS-T startup code
        CoordinatorInitialisation.startup();
        CompletionCoordinatorInitialisation.startup();
        CompletionCoordinatorRPCInitialisation.startup();
        CoordinatorCompletionCoordinatorInitialisation.startup();
        ParticipantCompletionCoordinatorInitialisation.startup();
        TerminationCoordinatorInitialisation.startup();
        TerminationCoordinatorRPCInitialisation.startup();
        WSTCoordinatorInitialisation.startup();
        // run WSCF startup code
        
        WSCFInitialisation.startup();
        // there is no WSTX coordinator startup
        // run recovery startup code
        CoordinatorRecoveryInitialisation.startup();
    }
    public void shutdown() throws Exception
    {
        // run recovery shutdown code
        CoordinatorRecoveryInitialisation.shutdown();
        // there is no WSTX coordinator shutdown
        // run WSCF shutdown code
        WSCFInitialisation.shutdown();
        // run WS-T shutdown code
        WSTCoordinatorInitialisation.shutdown();
        TerminationCoordinatorRPCInitialisation.shutdown();
        TerminationCoordinatorInitialisation.shutdown();
        ParticipantCompletionCoordinatorInitialisation.shutdown();
        CoordinatorCompletionCoordinatorInitialisation.shutdown();
        CompletionCoordinatorInitialisation.shutdown();
        CoordinatorInitialisation.shutdown();
        // run WS-C shutdown code
        CoordinationInitialisation.shutdown();
        RegistrationCoordinatorInitialisation.shutdown();
        ActivationCoordinatorInitialisation.shutdown();
    }
New to GrepCode? Check out our FAQ X