Package net.java.ao.schema.info
Class CachingEntityInfoResolver
java.lang.Object
net.java.ao.schema.info.EntityInfoResolverWrapper
net.java.ao.schema.info.CachingEntityInfoResolver
- All Implemented Interfaces:
EntityInfoResolver
public class CachingEntityInfoResolver
extends EntityInfoResolverWrapper
implements EntityInfoResolver
A
EntityInfoResolver
which caches the computed EntityInfo
for any type it is given-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CachingEntityInfoResolver
-
-
Method Details
-
resolve
- Specified by:
resolve
in interfaceEntityInfoResolver
- Overrides:
resolve
in classEntityInfoResolverWrapper
- Type Parameters:
T
- the entity typeK
- the type of the primary key for the entity- Parameters:
type
- the entity interface- Returns:
- the
table information
for the entity
-