Package org.nuiton.jaxx.application.bean
Class BinderCache
java.lang.Object
org.nuiton.jaxx.application.bean.BinderCache
public class BinderCache
extends java.lang.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<java.lang.Class<?>,java.lang.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(java.lang.Class<S> sourceType, java.lang.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<java.lang.Class<?>,java.lang.Class<?>>,org.nuiton.util.beans.Binder> cache
-
-
Constructor Details
-
BinderCache
public BinderCache()
-
-
Method Details
-
getBinder
public static <S, T> org.nuiton.util.beans.Binder<S,T> getBinder(java.lang.Class<S> sourceType, java.lang.Class<T> targetType)
-