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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingEntityInfoResolver
public CachingEntityInfoResolver(EntityInfoResolver delegate)
resolve
public <T extends RawEntity<K>,K> EntityInfo<T,K> resolve(Class<T> type)
- Specified by:
resolve
in interface EntityInfoResolver
- Overrides:
resolve
in class EntityInfoResolverWrapper
- 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
Copyright © 2007-2013. All Rights Reserved.