All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.jbossts.xts.environment.RecoveryEnvironmentBean Maven / Gradle / Ivy

There is a newer version: 4.17.43.Final
Show newest version
package org.jboss.jbossts.xts.environment;

import com.arjuna.common.internal.util.propertyservice.ConcatenationPrefix;
import com.arjuna.common.internal.util.propertyservice.PropertyPrefix;

import java.util.ArrayList;
import java.util.List;

/**
 * bean storing recovery implementation configuration values derived from the xts properties file,
 * system property settings and, in case we are running inside JBossAS the xts bean.xml file
 */
@PropertyPrefix(prefix = "org.jboss.jbossts.xts.recovery.")
public class RecoveryEnvironmentBean
{
    /**
     * the list of XTS recovery modules to be installed at startup and removed at shutdown
     */
    @ConcatenationPrefix(prefix="org.jboss.jbossts.xts.recovery.coordinatorRecoveryModule")
    private volatile List coordinatorRecoveryModules = new ArrayList();

    /**
     * the list of XTS recovery modules to be installed at startup and removed at shutdown
     */
    @ConcatenationPrefix(prefix="org.jboss.jbossts.xts.recovery.participantRecoveryModule")
    private volatile List participantRecoveryModules = new ArrayList();

    public List getCoordinatorRecoveryModules() {
        return coordinatorRecoveryModules;
    }

    public void setCoordinatorRecoveryModules(List coordinatorRecoveryModules) {
        this.coordinatorRecoveryModules = coordinatorRecoveryModules;
    }

    public List getParticipantRecoveryModules() {
        return participantRecoveryModules;
    }

    public void setParticipantRecoveryModules(List participantRecoveryModules) {
        this.participantRecoveryModules = participantRecoveryModules;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy