Examples of XAResourceRecoveryRegistry


Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getRecovery() != null && txInt.getValue() != null) {
                XAResourceRecoveryRegistry rr = txInt.getValue().getRecoveryRegistry();

                if (rr != null) {
                    for (XAResourceRecovery recovery : value.getDeployment().getRecovery()) {
                        rr.removeXAResourceRecovery(recovery);
                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getConnectionManagers() != null) {
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

        if (deploymentMD != null) {
            if (deploymentMD.getRecovery() != null &&
                transactionIntegrationValue.getValue() != null &&
                transactionIntegrationValue.getValue().getRecoveryRegistry() != null) {

                XAResourceRecoveryRegistry rr = transactionIntegrationValue.getValue().getRecoveryRegistry();

                for (XAResourceRecovery recovery : deploymentMD.getRecovery()) {
                    rr.removeXAResourceRecovery(recovery);
                }
            }
        }

        super.stop(stopContext);
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

                    }
                }
            }

            if (value!= null && value.getDeployment() != null && value.getDeployment().getRecovery() != null && txInt !=null && txInt.getValue() != null) {
                XAResourceRecoveryRegistry rr = txInt.getValue().getRecoveryRegistry();

                if (rr != null) {
                    for (XAResourceRecovery recovery : value.getDeployment().getRecovery()) {
                        if (recovery!= null) {
                            try {
                                recovery.shutdown();
                            } catch (Exception e) {
                                DEPLOYMENT_CONNECTOR_LOGGER.error("Error during recovery shutdown", e);
                            } finally {
                                rr.removeXAResourceRecovery(recovery);
                            }
                        }
                    }
                }
            }
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

        if (deploymentMD != null &&
                deploymentMD.getRecovery() != null &&
                transactionIntegrationValue.getValue() != null &&
                transactionIntegrationValue.getValue().getRecoveryRegistry() != null) {

            XAResourceRecoveryRegistry rr = transactionIntegrationValue.getValue().getRecoveryRegistry();

            for (XAResourceRecovery recovery : deploymentMD.getRecovery()) {
                if (recovery != null) {
                    try {
                        recovery.shutdown();
                    } catch (Exception e) {
                        ConnectorLogger.SUBSYSTEM_DATASOURCES_LOGGER.error("Error during recovery shutdown", e);
                    } finally {
                        rr.removeXAResourceRecovery(recovery);
                    }
                }
            }
        }
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

        if (deploymentMD != null) {
            if (deploymentMD.getRecovery() != null &&
                transactionIntegrationValue.getValue() != null &&
                transactionIntegrationValue.getValue().getRecoveryRegistry() != null) {

                XAResourceRecoveryRegistry rr = transactionIntegrationValue.getValue().getRecoveryRegistry();

                for (XAResourceRecovery recovery : deploymentMD.getRecovery()) {
                    rr.removeXAResourceRecovery(recovery);
                }
            }
        }

        super.stop(stopContext);
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getRecovery() != null && txInt.getValue() != null) {
                XAResourceRecoveryRegistry rr = txInt.getValue().getRecoveryRegistry();

                if (rr != null) {
                    for (XAResourceRecovery recovery : value.getDeployment().getRecovery()) {
                        rr.removeXAResourceRecovery(recovery);
                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getConnectionManagers() != null) {
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getRecovery() != null && txInt.getValue() != null) {
                XAResourceRecoveryRegistry rr = txInt.getValue().getRecoveryRegistry();

                if (rr != null) {
                    for (XAResourceRecovery recovery : value.getDeployment().getRecovery()) {
                        rr.removeXAResourceRecovery(recovery);
                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getConnectionManagers() != null) {
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

        if (deploymentMD != null) {
            if (deploymentMD.getRecovery() != null &&
                transactionIntegrationValue.getValue() != null &&
                transactionIntegrationValue.getValue().getRecoveryRegistry() != null) {

                XAResourceRecoveryRegistry rr = transactionIntegrationValue.getValue().getRecoveryRegistry();

                for (XAResourceRecovery recovery : deploymentMD.getRecovery()) {
                    rr.removeXAResourceRecovery(recovery);
                }
            }
        }

        super.stop(stopContext);
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

                    }
                }
            }

            if (value.getDeployment() != null && value.getDeployment().getRecovery() != null && txInt.getValue() != null) {
                XAResourceRecoveryRegistry rr = txInt.getValue().getRecoveryRegistry();

                if (rr != null) {
                    for (XAResourceRecovery recovery : value.getDeployment().getRecovery()) {
                        if (recovery!= null) {
                            rr.removeXAResourceRecovery(recovery);
                        }
                    }
                }
            }
View Full Code Here

Examples of org.jboss.jca.core.spi.transaction.recovery.XAResourceRecoveryRegistry

        if (deploymentMD != null) {
            if (deploymentMD.getRecovery() != null &&
                transactionIntegrationValue.getValue() != null &&
                transactionIntegrationValue.getValue().getRecoveryRegistry() != null) {

                XAResourceRecoveryRegistry rr = transactionIntegrationValue.getValue().getRecoveryRegistry();

                for (XAResourceRecovery recovery : deploymentMD.getRecovery()) {
                    if (recovery != null) {
                        rr.removeXAResourceRecovery(recovery);
                    }
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.