Class DefaultBindableCache
java.lang.Object
org.tentackle.bind.DefaultBindableCache
- All Implemented Interfaces:
BindableCache
Cache for bindable elements per class.
- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBindableCache(BindingFactory bindingFactory) Creates a bindable cache. -
Method Summary
Modifier and TypeMethodDescriptiongetBindableMap(Class<?> clazz, boolean declaredOnly) Gets the map of bindables for given class.
-
Constructor Details
-
DefaultBindableCache
Creates a bindable cache.- Parameters:
bindingFactory- the binding factory to create binding elements
-
-
Method Details
-
getBindableMap
Gets the map of bindables for given class.- Specified by:
getBindableMapin interfaceBindableCache- Parameters:
clazz- the class to retrieve the bindables fordeclaredOnly- true if only declared elements, else inherited as well- Returns:
- the elements
-