Class BinderCache

java.lang.Object
org.nuiton.jaxx.application.bean.BinderCache

public class BinderCache
extends Object
To cache binders. Created on 8/12/14.
Since:
2.10
Author:
Tony Chemit - chemit@codelutin.com
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Pair<Class<?>,​Class<?>>,​org.nuiton.util.beans.Binder> cache  
  • Constructor Summary

    Constructors 
    Constructor Description
    BinderCache()  
  • Method Summary

    Modifier and Type Method Description
    static <S,​ T> org.nuiton.util.beans.Binder<S,​T> getBinder​(Class<S> sourceType, Class<T> targetType)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cache

      public static final com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Pair<Class<?>,​Class<?>>,​org.nuiton.util.beans.Binder> cache
  • Constructor Details

  • Method Details

    • getBinder

      public static <S,​ T> org.nuiton.util.beans.Binder<S,​T> getBinder​(Class<S> sourceType, Class<T> targetType)