org.infinispan.cdi.util.logging
Interface Log

All Superinterfaces:
org.jboss.logging.BasicLogger

@MessageLogger(projectCode="ISPN")
public interface Log
extends org.jboss.logging.BasicLogger

The JBoss Logging interface which defined the logging methods for the CDI integration. The id range for the CDI integration is 17001-18000

Author:
Kevin Pollet (C) 2011 SERLI

Method Summary
 void cacheConfigurationDefined(String cacheName, EmbeddedCacheManager cacheManager)
           
 javax.cache.CacheException cachePutMethodWithMoreThanOneCacheValueParameter(String methodName)
           
 javax.cache.CacheException cachePutMethodWithoutCacheValueParameter(String methodName)
           
 javax.cache.CacheException cacheRemoveAllMethodWithoutCacheName(String methodName)
           
 javax.cache.CacheException cacheRemoveEntryMethodWithoutCacheName(String methodName)
           
 IllegalArgumentException methodWithoutCacheAnnotation(String methodName)
           
 javax.cache.CacheException unableToInstantiateCacheKeyGenerator(Class<?> type, Throwable cause)
           
 IllegalArgumentException unableToUnwrapProviderImplementation(Class<?> type)
           
 void version(String version)
           
 
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
 

Method Detail

version

@LogMessage(level=)
@Message(value="Infinispan CDI extension version: %s",
         id=17001)
void version(String version)

cacheConfigurationDefined

@LogMessage(level=)
@Message(value="Configuration for cache \'%s\' has been defined in cache manager \'%s\'",
         id=17002)
void cacheConfigurationDefined(String cacheName,
                                                  EmbeddedCacheManager cacheManager)

methodWithoutCacheAnnotation

@Message(value="Method named \'%s\' is not annotated with CacheResult, CachePut, CacheRemoveEntry or CacheRemoveAll",
         id=17003)
IllegalArgumentException methodWithoutCacheAnnotation(String methodName)

cachePutMethodWithoutCacheValueParameter

@Message(value="Method named \'%s\' must have at least one parameter annotated with @CacheValue",
         id=17004)
javax.cache.CacheException cachePutMethodWithoutCacheValueParameter(String methodName)

cachePutMethodWithMoreThanOneCacheValueParameter

@Message(value="Method named \'%s\' must have only one parameter annotated with @CacheValue",
         id=17005)
javax.cache.CacheException cachePutMethodWithMoreThanOneCacheValueParameter(String methodName)

cacheRemoveEntryMethodWithoutCacheName

@Message(value="Method named \'%s\' is annotated with CacheRemoveEntry but doesn\'t specify a cache name",
         id=17006)
javax.cache.CacheException cacheRemoveEntryMethodWithoutCacheName(String methodName)

cacheRemoveAllMethodWithoutCacheName

@Message(value="Method named \'%s\' is annotated with CacheRemoveAll but doesn\'t specify a cache name",
         id=17007)
javax.cache.CacheException cacheRemoveAllMethodWithoutCacheName(String methodName)

unableToInstantiateCacheKeyGenerator

@Message(value="Unable to instantiate CacheKeyGenerator with type \'%s\'",
         id=17008)
javax.cache.CacheException unableToInstantiateCacheKeyGenerator(Class<?> type,
                                                                        @Cause
                                                                        Throwable cause)

unableToUnwrapProviderImplementation

@Message(value="The provider implementation cannot be unwrapped to \'%s\'",
         id=17009)
IllegalArgumentException unableToUnwrapProviderImplementation(Class<?> type)

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.