本文整理了Java中org.jboss.logging.Logger.tracev()
方法的一些代码示例,展示了Logger.tracev()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.tracev()
方法的具体详情如下:
包路径:org.jboss.logging.Logger
类名称:Logger
方法名:tracev
[英]Issue a log message with a level of TRACE using java.text.MessageFormat-style formatting.
[中]使用java发出具有跟踪级别的日志消息。文本MessageFormat样式格式化。
代码示例来源:origin: hibernate/hibernate-orm
/**
* Constructs a HiLoOptimizer
*
* @param returnClass The Java type of the values to be generated
* @param incrementSize The increment size.
*/
public HiLoOptimizer(Class returnClass, int incrementSize) {
super( returnClass, incrementSize );
if ( incrementSize < 1 ) {
throw new HibernateException( "increment size cannot be less than 1" );
}
if ( log.isTraceEnabled() ) {
log.tracev( "Creating hilo optimizer with [incrementSize={0}; returnClass={1}]", incrementSize, returnClass.getName() );
}
}
代码示例来源:origin: hibernate/hibernate-orm
/**
* Constructs a LegacyHiLoAlgorithmOptimizer
*
* @param returnClass The Java type of the values to be generated
* @param incrementSize The increment size.
*/
public LegacyHiLoAlgorithmOptimizer(Class returnClass, int incrementSize) {
super( returnClass, incrementSize );
if ( incrementSize < 1 ) {
throw new HibernateException( "increment size cannot be less than 1" );
}
if ( log.isTraceEnabled() ) {
log.tracev( "Creating hilo optimizer (legacy) with [incrementSize={0}; returnClass={1}]", incrementSize, returnClass.getName() );
}
initialMaxLo = incrementSize;
}
代码示例来源:origin: hibernate/hibernate-orm
if ( log.isTraceEnabled() ) {
log.tracev(
"Reassociating transient instance: {0}",
MessageHelper.infoString( persister, id, event.getSession().getFactory() )
代码示例来源:origin: hibernate/hibernate-orm
if ( log.isTraceEnabled() ) {
log.tracev(
"Initializing object from ResultSet: {0}",
MessageHelper.infoString(
: null;
if ( rowId != null && log.isTraceEnabled() ) {
log.tracev(
"extracted ROWID value: {0}",
rowId
代码示例来源:origin: hibernate/hibernate-orm
if ( log.isTraceEnabled() ) {
log.tracev(
"Locking {0} in mode: {1}",
MessageHelper.infoString( persister, entry.getId(), source.getFactory() ),
代码示例来源:origin: org.hibernate.orm/hibernate-core
/**
* Constructs a HiLoOptimizer
*
* @param returnClass The Java type of the values to be generated
* @param incrementSize The increment size.
*/
public HiLoOptimizer(Class returnClass, int incrementSize) {
super( returnClass, incrementSize );
if ( incrementSize < 1 ) {
throw new HibernateException( "increment size cannot be less than 1" );
}
if ( log.isTraceEnabled() ) {
log.tracev( "Creating hilo optimizer with [incrementSize={0}; returnClass={1}]", incrementSize, returnClass.getName() );
}
}
代码示例来源:origin: org.hibernate.orm/hibernate-core
/**
* Constructs a LegacyHiLoAlgorithmOptimizer
*
* @param returnClass The Java type of the values to be generated
* @param incrementSize The increment size.
*/
public LegacyHiLoAlgorithmOptimizer(Class returnClass, int incrementSize) {
super( returnClass, incrementSize );
if ( incrementSize < 1 ) {
throw new HibernateException( "increment size cannot be less than 1" );
}
if ( log.isTraceEnabled() ) {
log.tracev( "Creating hilo optimizer (legacy) with [incrementSize={0}; returnClass={1}]", incrementSize, returnClass.getName() );
}
initialMaxLo = incrementSize;
}
代码示例来源:origin: org.jboss.jbossts.xts/jbossxts
/**
* Execute the completed transition.
*
*/
private void executeCompleted()
{
try
{
coordinator.completed() ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts/jbossxts
/**
* Execute the completed transition.
*
*/
private void executeCompleted()
{
try
{
coordinator.completed() ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts/jbossxts
/**
* Execute the completed transition.
*
*/
private void executeCompleted()
{
try
{
coordinator.completed() ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts.xts/jbossxts
/**
* Execute the completed transition.
*
*/
private void executeCompleted()
{
try
{
coordinator.completed() ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts.xts/ws-t11
/**
* Execute the completed transition.
*
*/
private void executeCompleted()
{
try
{
coordinator.completed() ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts.xts/ws-t11
/**
* Execute the completed transition.
*
*/
private void executeCompleted()
{
try
{
coordinator.completed() ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts/jbossxts
/**
* Handle the soap fault event.
* @param soapFault The soap fault.
* @param map The addressing context.
* @param arjunaContext The arjuna context.
*
*/
public void soapFault(final SoapFault soapFault, final MAP map, final ArjunaContext arjunaContext)
{
if (WSTLogger.logger.isTraceEnabled())
{
final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ;
final SoapFaultType soapFaultType = soapFault.getSoapFaultType() ;
final QName subCode = soapFault.getSubcode() ;
WSTLogger.logger.tracev("Unexpected SOAP fault for coordinator {0}: {1} {2}", new Object[] {instanceIdentifier, soapFaultType, subCode}) ;
}
}
代码示例来源:origin: org.jboss.jbossts.xts/jbossxts
/**
* Handle the soap fault event.
* @param soapFault The soap fault.
* @param map The addressing context.
* @param arjunaContext The arjuna context.
*
*/
public void soapFault(final SoapFault soapFault, final MAP map, final ArjunaContext arjunaContext)
{
if (WSTLogger.logger.isTraceEnabled())
{
final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ;
final SoapFaultType soapFaultType = soapFault.getSoapFaultType() ;
final QName subCode = soapFault.getSubcode() ;
WSTLogger.logger.tracev("Unexpected SOAP fault for coordinator {0}: {1} {2}", new Object[] {instanceIdentifier, soapFaultType, subCode}) ;
}
}
代码示例来源:origin: org.jboss.jbossts.xts/ws-t11
/**
* Handle the soap fault event.
* @param soapFault The soap fault.
* @param map The addressing context.
* @param arjunaContext The arjuna context.
*
*/
public void soapFault(final SoapFault soapFault, final MAP map, final ArjunaContext arjunaContext)
{
if (WSTLogger.logger.isTraceEnabled())
{
final InstanceIdentifier instanceIdentifier = arjunaContext.getInstanceIdentifier() ;
final SoapFaultType soapFaultType = soapFault.getSoapFaultType() ;
final QName subCode = soapFault.getSubcode() ;
WSTLogger.logger.tracev("Unexpected SOAP fault for coordinator {0}: {1} {2}", new Object[] {instanceIdentifier, soapFaultType, subCode}) ;
}
}
代码示例来源:origin: org.jboss.jbossts.xts/ws-t11
/**
* Send the rollback message.
*
*/
private void sendRollback()
{
try
{
ParticipantClient.getClient().sendRollback(participant, createContext(), instanceIdentifier) ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpecting exception while sending Rollback", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts.xts/jbossxts
/**
* Send the exited message.
*
*/
private void sendExited()
{
final MAP map = createContext() ;
try
{
ParticipantCompletionParticipantClient.getClient().sendExited(participant, map, instanceIdentifier) ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception while sending Exited", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts.xts/jbossxts
/**
* Send the rollback message.
*
*/
private void sendRollback()
{
try
{
ParticipantClient.getClient().sendRollback(participant, createContext(), instanceIdentifier) ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpecting exception while sending Rollback", th) ;
}
}
}
代码示例来源:origin: org.jboss.jbossts/jbossxts
/**
* Send the closed message.
*
*/
private void sendClosed()
{
final MAP map = createContext() ;
try
{
CoordinatorCompletionCoordinatorClient.getClient().sendClosed(coordinator, map, instanceIdentifier) ;
}
catch (final Throwable th)
{
if (WSTLogger.logger.isTraceEnabled())
{
WSTLogger.logger.tracev("Unexpected exception while sending Closed", th) ;
}
}
}
内容来源于网络,如有侵权,请联系作者删除!