org.jboss.jbossts.txbridge.utils.txbridgeI18NLogger_$logger Maven / Gradle / Ivy
The newest version!
package org.jboss.jbossts.txbridge.utils;
import java.util.Locale;
import com.arjuna.ats.arjuna.common.Uid;
import java.io.Serializable;
import org.jboss.jbossts.xts.bridge.at.BridgeWrapper;
import java.lang.Throwable;
import java.lang.String;
import org.jboss.logging.Logger;
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 txbridgeI18NLogger_$logger implements txbridgeI18NLogger, Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = txbridgeI18NLogger_$logger.class.getName();
public txbridgeI18NLogger_$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_ibdp_nosub(final Throwable arg0) {
log.logv(FQCN, ERROR, arg0, error_ibdp_nosub$str());
}
protected String error_ibdp_nosub$str() {
return "ARJUNA033001: Unable to get subordinate transaction id";
}
@Override
public final void error_ibdp_norecovery(final Uid arg0, final Throwable arg1) {
log.logv(FQCN, ERROR, arg1, error_ibdp_norecovery$str(), arg0);
}
protected String error_ibdp_norecovery$str() {
return "ARJUNA033002: Unable to recover subordinate transaction id {0}";
}
@Override
public final void warn_ibdp_aborted(final String arg0, final Throwable arg1) {
log.logv(FQCN, WARN, arg1, warn_ibdp_aborted$str(), arg0);
}
protected String warn_ibdp_aborted$str() {
return "ARJUNA033003: prepare on Xid={0} returning Aborted";
}
@Override
public final void error_ibdp_commitfailed(final String arg0, final Throwable arg1) {
log.logv(FQCN, ERROR, arg1, error_ibdp_commitfailed$str(), arg0);
}
protected String error_ibdp_commitfailed$str() {
return "ARJUNA033004: commit on Xid={0} failed";
}
@Override
public final void error_ibdp_rollbackfailed(final String arg0, final Throwable arg1) {
log.logv(FQCN, ERROR, arg1, error_ibdp_rollbackfailed$str(), arg0);
}
protected String error_ibdp_rollbackfailed$str() {
return "ARJUNA033005: rollback on Xid={0} failed";
}
@Override
public final void info_ibrm_start() {
log.logv(FQCN, INFO, null, info_ibrm_start$str());
}
protected String info_ibrm_start$str() {
return "ARJUNA033006: InboundBridgeRecoveryManager starting";
}
@Override
public final void info_ibrm_stop() {
log.logv(FQCN, INFO, null, info_ibrm_stop$str());
}
protected String info_ibrm_stop$str() {
return "ARJUNA033007: InboundBridgeRecoveryManager stopping";
}
@Override
public final void error_ibrm_rollbackerr(final String arg0, final Throwable arg1) {
log.logv(FQCN, ERROR, arg1, error_ibrm_rollbackerr$str(), arg0);
}
protected String error_ibrm_rollbackerr$str() {
return "ARJUNA033008: problem rolling back orphaned subordinate tx {0}";
}
@Override
public final void error_ibrm_scanerr(final Throwable arg0) {
log.logv(FQCN, ERROR, arg0, error_ibrm_scanerr$str());
}
protected String error_ibrm_scanerr$str() {
return "ARJUNA033009: Problem whilst scanning for in-doubt subordinate transactions";
}
@Override
public final void warn_ibvp_preparefailed(final String arg0, final Throwable arg1) {
log.logv(FQCN, WARN, arg1, warn_ibvp_preparefailed$str(), arg0);
}
protected String warn_ibvp_preparefailed$str() {
return "ARJUNA033010: prepare on Xid={0} failed, setting RollbackOnly";
}
@Override
public final void warn_ibvp_setrollbackfailed(final Throwable arg0) {
log.logv(FQCN, WARN, arg0, warn_ibvp_setrollbackfailed$str());
}
protected String warn_ibvp_setrollbackfailed$str() {
return "ARJUNA033011: setRollbackOnly failed";
}
@Override
public final void warn_ibvp_stopfailed(final String arg0, final Throwable arg1) {
log.logv(FQCN, WARN, arg1, warn_ibvp_stopfailed$str(), arg0);
}
protected String warn_ibvp_stopfailed$str() {
return "ARJUNA033012: stop failed for Xid {0}";
}
@Override
public final void info_obrm_start() {
log.logv(FQCN, INFO, null, info_obrm_start$str());
}
protected String info_obrm_start$str() {
return "ARJUNA033013: OutboundBridgeRecoveryManager starting";
}
@Override
public final void info_obrm_stop() {
log.logv(FQCN, INFO, null, info_obrm_stop$str());
}
protected String info_obrm_stop$str() {
return "ARJUNA033014: OutboundBridgeRecoveryManager stopping";
}
@Override
public final void warn_obs_unexpectedstatus(final String arg0) {
log.logv(FQCN, WARN, null, warn_obs_unexpectedstatus$str(), arg0);
}
protected String warn_obs_unexpectedstatus$str() {
return "ARJUNA033015: unexpected Status {0}, treating as ROLLEDBACK";
}
@Override
public final void error_obxar_unabletorecover(final String arg0, final Throwable arg1) {
log.logv(FQCN, ERROR, arg1, error_obxar_unabletorecover$str(), arg0);
}
protected String error_obxar_unabletorecover$str() {
return "ARJUNA033016: Unable to recover subordinate transaction id={0},";
}
@Override
public final void error_obm_unabletoenlist(final Throwable arg0) {
log.logv(FQCN, ERROR, arg0, error_obm_unabletoenlist$str());
}
protected String error_obm_unabletoenlist$str() {
return "ARJUNA033017: Unable to enlist BridgeXAResource or register BridgeSynchronization";
}
@Override
public final void error_bridge_wrapper_prepare_volatile(final BridgeWrapper bridgeWrapper) {
log.logv(FQCN, ERROR, null, error_bridge_wrapper_prepare_volatile$str(), bridgeWrapper);
}
protected String error_bridge_wrapper_prepare_volatile$str() {
return "ARJUNA033018: Error on prepareVolatile of bridge wrapper {0}";
}
}