Refine search
@PropertyPrefix(prefix = "com.arjuna.common.util.logging.default.") public class BasicLogEnvironmentBean private volatile boolean logFileAppend = true; @FullPropertyName(name = "com.arjuna.common.util.logging.default.defaultLevel") private volatile String level = "info";
@PropertyPrefix(prefix = "com.arjuna.ats.arjuna.recovery.") public class RecoveryEnvironmentBean implements RecoveryEnvironmentBeanMBean private volatile int transactionStatusManagerExpiryTime = 12; // hours @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.expiryScanner") private volatile List<String> expiryScanners = new ArrayList<String>(); @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryExtension") private volatile List<String> recoveryExtensions = new ArrayList<String>(); @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryActivator") private volatile List<String> recoveryActivators = new ArrayList<String>(); @FullPropertyName(name = "com.arjuna.ats.internal.arjuna.recovery.listener.timeoutsocket") private volatile boolean timeoutSocket = false;
/** * bean holding the configuration proeprty settings which identify intiialisation routines * to be run during XTS startup and shutdown */ @PropertyPrefix(prefix = "org.jboss.jbossts.xts.initialisation.") public class XTSEnvironmentBean { /** * the list of XTS recovery modules to be installed at startup and removed at shutdown */ @ConcatenationPrefix(prefix="org.jboss.jbossts.xts.initialisation.xtsInitialisation") private volatile List<String> xtsInitialisations = new ArrayList<String>(); public List<String> getXtsInitialisations() { return xtsInitialisations; } public void setXtsInitialisations(List<String> xtsInitialisations) { this.xtsInitialisations = xtsInitialisations; } }
@PropertyPrefix(prefix = "com.arjuna.ats.jdbc.") public class JDBCEnvironmentBean implements JDBCEnvironmentBeanMBean
String prefix = prefixAnnotation.prefix();
@PropertyPrefix(prefix = "com.arjuna.ats.jta.") public class JTAEnvironmentBean implements JTAEnvironmentBeanMBean private volatile String jtaTSRImplementation = "com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple"; @ConcatenationPrefix(prefix = "com.arjuna.ats.jta.xaRecoveryNode") private volatile List<String> xaRecoveryNodes = new ArrayList<String>(); @ConcatenationPrefix(prefix = "com.arjuna.ats.jta.recovery.XAResourceRecovery") private volatile List<String> xaResourceRecoveryInstances = new ArrayList<String>(); @FullPropertyName(name = "com.arjuna.ats.jta.utils.UTJNDIContext") private volatile String jtaUTJNDIContext = "java:/UserTransaction"; @FullPropertyName(name = "com.arjuna.ats.jta.utils.TMJNDIContext") private volatile String jtaTMJNDIContext = "java:/TransactionManager"; @FullPropertyName(name = "com.arjuna.ats.jta.utils.TSRJNDIContext") private volatile String jtaTSRJNDIContext = "java:/TransactionSynchronizationRegistry"; @ConcatenationPrefix(prefix = "com.arjuna.ats.jta.xaErrorHandler") private volatile List<String> xaErrorHandlers = new ArrayList<String>();
/** * bean holding the configuration proeprty settings which identify intiialisation routines * to be run during XTS startup and shutdown */ @PropertyPrefix(prefix = "org.jboss.jbossts.xts.initialisation.") public class XTSEnvironmentBean { /** * the list of XTS recovery modules to be installed at startup and removed at shutdown */ @ConcatenationPrefix(prefix="org.jboss.jbossts.xts.initialisation.xtsInitialisation") private volatile List<String> xtsInitialisations = new ArrayList<String>(); public List<String> getXtsInitialisations() { return xtsInitialisations; } public void setXtsInitialisations(List<String> xtsInitialisations) { this.xtsInitialisations = xtsInitialisations; } }
@PropertyPrefix(prefix = "com.arjuna.ats.jdbc.") public class JDBCEnvironmentBean implements JDBCEnvironmentBeanMBean
if(bean.getClass().isAnnotationPresent(PropertyPrefix.class)) { PropertyPrefix prefixAnnotation = bean.getClass().getAnnotation(PropertyPrefix.class); prefix = prefixAnnotation.prefix();
@PropertyPrefix(prefix = "com.arjuna.ats.arjuna.recovery.") public class RecoveryEnvironmentBean implements RecoveryEnvironmentBeanMBean private volatile int transactionStatusManagerExpiryTime = 12; // hours @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.expiryScanner") private volatile List<String> expiryScannerClassNames = new ArrayList<String>(); private volatile List<ExpiryScanner> expiryScanners = null; @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryExtension") private volatile List<String> recoveryModuleClassNames = new ArrayList<String>(); private volatile List<RecoveryModule> recoveryModules = null; @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryActivator") private volatile List<String> recoveryActivatorClassNames = new ArrayList<String>(); private volatile List<RecoveryActivator> recoveryActivators = null; @FullPropertyName(name = "com.arjuna.ats.internal.arjuna.recovery.listener.timeoutsocket") private volatile boolean timeoutSocket = false;
@PropertyPrefix(prefix = "com.arjuna.common.util.logging.") public class LoggingEnvironmentBean implements LoggingEnvironmentBeanMBean @FullPropertyName(name = "com.arjuna.common.util.logging.DebugLevel") private volatile String debugLevel = "0x00000000"; @FullPropertyName(name = "com.arjuna.common.util.logging.FacilityLevel") private volatile String facilityLevel = "0xffffffff"; @FullPropertyName(name = "com.arjuna.common.util.logging.VisibilityLevel") private volatile String visibilityLevel = "0xffffffff";
/** * 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 proeprties 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<String> protocolImplementations = new ArrayList<String>(); public List<String> getProtocolImplementations() { return protocolImplementations; } public void setProtocolImplementations(List<String> protocolImplementations) { this.protocolImplementations = protocolImplementations; } }
@PropertyPrefix(prefix = "com.arjuna.ats.jdbc.") public class JDBCEnvironmentBean implements JDBCEnvironmentBeanMBean
if(bean.getClass().isAnnotationPresent(PropertyPrefix.class)) { PropertyPrefix prefixAnnotation = bean.getClass().getAnnotation(PropertyPrefix.class); prefix = prefixAnnotation.prefix();
@PropertyPrefix(prefix = "com.arjuna.ats.arjuna.recovery.") public class RecoveryEnvironmentBean implements RecoveryEnvironmentBeanMBean private volatile int transactionStatusManagerExpiryTime = 12; // hours @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.expiryScanner") private volatile List<String> expiryScannerClassNames = new ArrayList<String>(); private volatile List<ExpiryScanner> expiryScanners = null; @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryExtension") private volatile List<String> recoveryModuleClassNames = new ArrayList<String>(); private volatile List<RecoveryModule> recoveryModules = null; @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryActivator") private volatile List<String> recoveryActivatorClassNames = new ArrayList<String>(); private volatile List<RecoveryActivator> recoveryActivators = null; @FullPropertyName(name = "com.arjuna.ats.internal.arjuna.recovery.listener.timeoutsocket") private volatile boolean timeoutSocket = false;
@PropertyPrefix(prefix = "org.jboss.jbossts.xts") public class WSTEnvironmentBean @FullPropertyName(name = "org.jboss.jbossts.xts11.wsat.UserTransaction") private volatile String userTransaction11 = "com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple"; @FullPropertyName(name = "org.jboss.jbossts.xts11.wsat.TransactionManager") private volatile String transactionManager11 = "com.arjuna.mwlabs.wst11.at.remote.TransactionManagerImple"; @FullPropertyName(name = "org.jboss.jbossts.xts11.wsba.UserBusinessActivity") private volatile String userBusinessActivity11 = "com.arjuna.mwlabs.wst11.ba.remote.UserBusinessActivityImple";
/** * 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 proeprties 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<String> protocolImplementations = new ArrayList<String>(); public List<String> getProtocolImplementations() { return protocolImplementations; } public void setProtocolImplementations(List<String> protocolImplementations) { this.protocolImplementations = protocolImplementations; } }
@PropertyPrefix(prefix = "com.arjuna.ats.jdbc.") public class JDBCEnvironmentBean implements JDBCEnvironmentBeanMBean
if(bean.getClass().isAnnotationPresent(PropertyPrefix.class)) { PropertyPrefix prefixAnnotation = bean.getClass().getAnnotation(PropertyPrefix.class); prefix = prefixAnnotation.prefix();
@PropertyPrefix(prefix = "com.arjuna.ats.arjuna.recovery.") public class RecoveryEnvironmentBean implements RecoveryEnvironmentBeanMBean private volatile int transactionStatusManagerExpiryTime = 12; // hours @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.expiryScanner") private volatile List<String> expiryScannerClassNames = new ArrayList<String>(); private volatile List<ExpiryScanner> expiryScanners = null; @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryExtension") private volatile List<String> recoveryModuleClassNames = new ArrayList<String>(); private volatile List<RecoveryModule> recoveryModules = null; @ConcatenationPrefix(prefix = "com.arjuna.ats.arjuna.recovery.recoveryActivator") private volatile List<String> recoveryActivatorClassNames = new ArrayList<String>(); private volatile List<RecoveryActivator> recoveryActivators = null; @FullPropertyName(name = "com.arjuna.ats.internal.arjuna.recovery.listener.timeoutsocket") private volatile boolean timeoutSocket = false;