org.jboss.jbossts.xts.environment.WSCFEnvironmentBean Maven / Gradle / Ivy
The newest version!
/*
Copyright The Narayana Authors
SPDX-License-Identifier: Apache-2.0
*/
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 WSCF 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.")
public class WSCFEnvironmentBean
{
/**
* list of names of classes which provide protocol implementations, currently either high level services
* or context factories. these are culled from the xts properties file by scanning for properties with
* the requisite prefix. The are injected from the beans.xml as a list of names.
*/
@ConcatenationPrefix(prefix="org.jboss.jbossts.xts.protocolImplementation")
private volatile List protocolImplementations = new ArrayList();
/**
* Returns the list of names of classes which provide protocol implementations, currently either high level services or context factories.
* These are culled from the xts properties file by scanning for properties with the requisite prefix.
* The are injected from the beans.xml as a list of names.
*
* @return the list of names of classes which provide protocol implementations.
*/
public List getProtocolImplementations() {
return protocolImplementations;
}
/**
* Sets the list of names of classes which provide protocol implementations.
*
* @param protocolImplementations the list of names of classes which provide protocol implementations.
*/
public void setProtocolImplementations(List protocolImplementations) {
this.protocolImplementations = protocolImplementations;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy