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

com.arjuna.ats.jbossatx.logging.jbossatxI18NLogger_$logger Maven / Gradle / Ivy

package com.arjuna.ats.jbossatx.logging;

import java.util.Locale;
import java.io.Serializable;
import jakarta.transaction.Transaction;
import java.lang.Throwable;
import java.lang.Class;
import java.lang.Object;
import java.lang.String;
import org.jboss.logging.Logger;
import java.lang.Thread;


import static org.jboss.logging.Logger.Level.ERROR;
import static org.jboss.logging.Logger.Level.INFO;
import static org.jboss.logging.Logger.Level.WARN;

/**
 * Warning this class consists of generated code.
 */
public class jbossatxI18NLogger_$logger implements jbossatxI18NLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = jbossatxI18NLogger_$logger.class.getName();
    public jbossatxI18NLogger_$logger(final Logger log) {
        this.log = log;
    }
    protected final Logger log;
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    @Override
    public final void error_jta_AppServerJDBCXARecovery_createconnectionproblem(final Throwable arg0) {
        log.logv(FQCN, ERROR, arg0, error_jta_AppServerJDBCXARecovery_createconnectionproblem$str());
    }
    protected String error_jta_AppServerJDBCXARecovery_createconnectionproblem$str() {
        return "ARJUNA032001: createConnection got exception";
    }
    @Override
    public final void error_jta_AppServerJDBCXARecovery_createproblem(final Throwable arg0) {
        log.logv(FQCN, ERROR, arg0, error_jta_AppServerJDBCXARecovery_createproblem$str());
    }
    protected String error_jta_AppServerJDBCXARecovery_createproblem$str() {
        return "ARJUNA032002: createDataSource got exception during getXADataSource call";
    }
    @Override
    public final void warn_jta_AppServerJDBCXARecovery_notfound(final String arg0) {
        log.logv(FQCN, WARN, null, warn_jta_AppServerJDBCXARecovery_notfound$str(), arg0);
    }
    protected String warn_jta_AppServerJDBCXARecovery_notfound$str() {
        return "ARJUNA032003: InstanceNotFound. Datasource {0} not deployed, or wrong name?";
    }
    @Override
    public final void error_jta_AppServerJDBCXARecovery_problem(final String arg0, final Throwable arg1) {
        log.logv(FQCN, ERROR, arg1, error_jta_AppServerJDBCXARecovery_problem$str(), arg0);
    }
    protected String error_jta_AppServerJDBCXARecovery_problem$str() {
        return "ARJUNA032004: createDataSource {0} got exception";
    }
    @Override
    public final void error_jta_PropagationContextManager_exception(final Throwable arg0) {
        log.logv(FQCN, ERROR, arg0, error_jta_PropagationContextManager_exception$str());
    }
    protected String error_jta_PropagationContextManager_exception$str() {
        return "ARJUNA032005: Unexpected exception occurred";
    }
    @Override
    public final void error_jta_PropagationContextManager_unknownctx() {
        log.logv(FQCN, ERROR, null, error_jta_PropagationContextManager_unknownctx$str());
    }
    protected String error_jta_PropagationContextManager_unknownctx$str() {
        return "ARJUNA032006: unknown Tx PropagationContext";
    }
    @Override
    public final void error_jts_InboundTransactionCurrentImple_exception(final Throwable arg0) {
        log.logv(FQCN, ERROR, arg0, error_jts_InboundTransactionCurrentImple_exception$str());
    }
    protected String error_jts_InboundTransactionCurrentImple_exception$str() {
        return "ARJUNA032007: getCurrentTransaction() failed";
    }
    @Override
    public final void error_jts_PropagationContextManager_unknownctx() {
        log.logv(FQCN, ERROR, null, error_jts_PropagationContextManager_unknownctx$str());
    }
    protected String error_jts_PropagationContextManager_unknownctx$str() {
        return "ARJUNA032008: unknown Tx PropagationContext";
    }
    @Override
    public final void error_jts_PropagationContextManager_exception(final Throwable arg0) {
        log.logv(FQCN, ERROR, arg0, error_jts_PropagationContextManager_exception$str());
    }
    protected String error_jts_PropagationContextManager_exception$str() {
        return "ARJUNA032009: Unexpected exception occurred";
    }
    @Override
    public final void info_jta_RecoveryManagerService_create(final String arg0) {
        log.logv(FQCN, INFO, null, info_jta_RecoveryManagerService_create$str(), arg0);
    }
    protected String info_jta_RecoveryManagerService_create$str() {
        return "ARJUNA032010: JBossTS Recovery Service (tag: {0}) - JBoss Inc.";
    }
    protected String get_jta_RecoveryManagerService_norecoverymodule$str() {
        return "ARJUNA032011: No suitable recovery module in which to register XAResourceRecovery instance";
    }
    @Override
    public final String get_jta_RecoveryManagerService_norecoverymodule() {
        return get_jta_RecoveryManagerService_norecoverymodule$str();
    }
    protected String get_jta_RecoveryManagerService_norecoverysystem$str() {
        return "ARJUNA032012: No recovery system in which to register XAResourceRecovery instance";
    }
    @Override
    public final String get_jta_RecoveryManagerService_norecoverysystem() {
        return get_jta_RecoveryManagerService_norecoverysystem$str();
    }
    @Override
    public final void info_jta_RecoveryManagerService_start() {
        log.logv(FQCN, INFO, null, info_jta_RecoveryManagerService_start$str());
    }
    protected String info_jta_RecoveryManagerService_start$str() {
        return "ARJUNA032013: Starting transaction recovery manager";
    }
    @Override
    public final void info_jta_RecoveryManagerService_stop() {
        log.logv(FQCN, INFO, null, info_jta_RecoveryManagerService_stop$str());
    }
    protected String info_jta_RecoveryManagerService_stop$str() {
        return "ARJUNA032014: Stopping transaction recovery manager";
    }
    protected String get_jta_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_1$str() {
        return "ARJUNA032015: Transaction has or will rollback.";
    }
    @Override
    public final String get_jta_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_1() {
        return get_jta_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_1$str();
    }
    protected String get_jta_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_2$str() {
        return "ARJUNA032016: Unexpected error retrieving transaction status";
    }
    @Override
    public final String get_jta_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_2() {
        return get_jta_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_2$str();
    }
    @Override
    public final void info_jta_TransactionManagerService_create(final String arg0, final String arg1) {
        log.logv(FQCN, INFO, null, info_jta_TransactionManagerService_create$str(), arg0, arg1);
    }
    protected String info_jta_TransactionManagerService_create$str() {
        return "ARJUNA032017: JBossTS Transaction Service ({0} version - tag: {1}) - JBoss Inc.";
    }
    @Override
    public final void info_jta_TransactionManagerService_destroy() {
        log.logv(FQCN, INFO, null, info_jta_TransactionManagerService_destroy$str());
    }
    protected String info_jta_TransactionManagerService_destroy$str() {
        return "ARJUNA032018: Destroying TransactionManagerService";
    }
    @Override
    public final void warn_jta_TransactionManagerService_noformatter() {
        log.logv(FQCN, WARN, null, warn_jta_TransactionManagerService_noformatter$str());
    }
    protected String warn_jta_TransactionManagerService_noformatter$str() {
        return "ARJUNA032019: XAExceptionFormatters are not supported by the JBossTS Transaction Service - this warning can safely be ignored";
    }
    protected String get_jta_jca_completing$str() {
        return "ARJUNA032020: Transaction is completing!";
    }
    @Override
    public final String get_jta_jca_completing() {
        return get_jta_jca_completing$str();
    }
    protected String get_jta_jca_inactive$str() {
        return "ARJUNA032021: Transaction is inactive!";
    }
    @Override
    public final String get_jta_jca_inactive() {
        return get_jta_jca_inactive$str();
    }
    protected String get_jta_jca_unknown$str() {
        return "ARJUNA032022: Unexpected error!";
    }
    @Override
    public final String get_jta_jca_unknown() {
        return get_jta_jca_unknown$str();
    }
    protected String get_jta_jca_unknownwork$str() {
        return "ARJUNA032023: Work not registered!";
    }
    @Override
    public final String get_jta_jca_unknownwork() {
        return get_jta_jca_unknownwork$str();
    }
    @Override
    public final void info_jts_RecoveryManagerService_init() {
        log.logv(FQCN, INFO, null, info_jts_RecoveryManagerService_init$str());
    }
    protected String info_jts_RecoveryManagerService_init$str() {
        return "ARJUNA032024:  JTS transaction recovery manager";
    }
    protected String get_jts_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_1$str() {
        return "ARJUNA032025: Transaction has or will rollback.";
    }
    @Override
    public final String get_jts_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_1() {
        return get_jts_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_1$str();
    }
    protected String get_jts_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_2$str() {
        return "ARJUNA032026: Unexpected error retrieving transaction status";
    }
    @Override
    public final String get_jts_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_2() {
        return get_jts_TransactionManagerDelegate_getTimeLeftBeforeTransactionTimeout_2$str();
    }
    protected String get_jts_TransactionManagerService_failed$str() {
        return "ARJUNA032027: Problem encountered while trying to register transaction manager with ORB!";
    }
    @Override
    public final String get_jts_TransactionManagerService_failed() {
        return get_jts_TransactionManagerService_failed$str();
    }
    @Override
    public final void info_jts_TransactionManagerService_start() {
        log.logv(FQCN, INFO, null, info_jts_TransactionManagerService_start$str());
    }
    protected String info_jts_TransactionManagerService_start$str() {
        return "ARJUNA032028: registering transaction manager";
    }
    protected String get_jts_jca_completing$str() {
        return "ARJUNA032029: Transaction is completing!";
    }
    @Override
    public final String get_jts_jca_completing() {
        return get_jts_jca_completing$str();
    }
    protected String get_jts_jca_inactive$str() {
        return "ARJUNA032030: Transaction is inactive!";
    }
    @Override
    public final String get_jts_jca_inactive() {
        return get_jts_jca_inactive$str();
    }
    protected String get_jts_jca_unknown$str() {
        return "ARJUNA032031: Unexpected error!";
    }
    @Override
    public final String get_jts_jca_unknown() {
        return get_jts_jca_unknown$str();
    }
    protected String get_jts_jca_unknownwork$str() {
        return "ARJUNA032032: Work not registered!";
    }
    @Override
    public final String get_jts_jca_unknownwork() {
        return get_jts_jca_unknownwork$str();
    }
    @Override
    public final void warn_AppServerJDBCXARecovery_deprecation() {
        log.logv(FQCN, WARN, null, warn_AppServerJDBCXARecovery_deprecation$str());
    }
    protected String warn_AppServerJDBCXARecovery_deprecation$str() {
        return "ARJUNA032033: AppServerJDBCXARecovery should no longer be used. See jira.jboss.org/browse/JBTM-756";
    }
    @Override
    public final void info_jta_RecoveryManagerService_suspend() {
        log.logv(FQCN, INFO, null, info_jta_RecoveryManagerService_suspend$str());
    }
    protected String info_jta_RecoveryManagerService_suspend$str() {
        return "ARJUNA032034: Suspending transaction recovery manager";
    }
    @Override
    public final void info_jta_RecoveryManagerService_resume() {
        log.logv(FQCN, INFO, null, info_jta_RecoveryManagerService_resume$str());
    }
    protected String info_jta_RecoveryManagerService_resume$str() {
        return "ARJUNA032035: Resuming transaction recovery manager";
    }
    protected String get_unsupported_transaction_type$str() {
        return "ARJUNA032036: Unsupported transaction type. Transaction type is {0}";
    }
    @Override
    public final String get_unsupported_transaction_type(final Class transactionClass) {
        return _formatMessage(get_unsupported_transaction_type$str(), transactionClass);
    }
    private String _formatMessage(final String format, final Object... args) {
        final java.text.MessageFormat formatter = new java.text.MessageFormat(format, getLoggingLocale());
        return formatter.format(args, new StringBuffer(), new java.text.FieldPosition(0)).toString();
    }
    protected String get_transaction_listeners_disabled$str() {
        return "ARJUNA032037: Transaction listeners are disabled and should not be used. If you need them they can be enabled via -D{0}=true";
    }
    @Override
    public final String get_transaction_listeners_disabled(final String transactionListenersPropertyName) {
        return _formatMessage(get_transaction_listeners_disabled$str(), transactionListenersPropertyName);
    }
    protected String get_invalid_transaction_local_resource$str() {
        return "ARJUNA032038: Invalid transaction local resource [{0}] associated with key {1}.";
    }
    @Override
    public final String get_invalid_transaction_local_resource(final Object localResource, final String key) {
        return _formatMessage(get_invalid_transaction_local_resource$str(), localResource, key);
    }
    protected String get_cannot_lock_transactionlocal$str() {
        return "ARJUNA032039: Cannot lock a TransactionLocal after the Transaction [{0}] has ended";
    }
    @Override
    public final String get_cannot_lock_transactionlocal(final Transaction txn) {
        return _formatMessage(get_cannot_lock_transactionlocal$str(), txn);
    }
    protected String get_cannot_store_transactionlocal1$str() {
        return "ARJUNA032040: Cannot store value in a TransactionLocal after the Transaction [{0}] has ended";
    }
    @Override
    public final String get_cannot_store_transactionlocal(final Transaction txn) {
        return _formatMessage(get_cannot_store_transactionlocal1$str(), txn);
    }
    protected String get_cannot_store_transactionlocal2$str() {
        return "ARJUNA032041: Unlock called from wrong thread.  Locking thread: {0}, current thread: {1}";
    }
    @Override
    public final String get_cannot_store_transactionlocal(final Thread lockingThread, final Thread currentThread) {
        return _formatMessage(get_cannot_store_transactionlocal2$str(), lockingThread, currentThread);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy