Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.ejb3.entity;
 /*    */ 
 /*    */ import java.util.Properties;
 /*    */ import  org.hibernate.cache.CacheException;
 /*    */ import org.jboss.logging.Logger;
 /*    */ 
 /*    */ public class OptimisticTreeCacheProviderHook extends TreeCacheProviderHook
 /*    */ {
 /*    */   public void start(Properties properties)
/*    */     throws CacheException
/*    */   {
/* 30 */     super.start(properties);
/*    */ 
/* 32 */     if (!getCacheFactory().isOptimistic())
/*    */     {
/* 34 */       this.log.warn("JBoss Cache is not configured for optimistic locking; provided Cache implementations therefore will not implement OptimisticCache");
/*    */     }
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.ejb3.entity.OptimisticTreeCacheProviderHook
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X