|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.ao.ReadOnlyEntityProxyFactory<T,K>
T - the entity typeK - the primary key typepublic class ReadOnlyEntityProxyFactory<T extends RawEntity<K>,K>
Factory for building large number of ReadOnlyEntityProxy instances. Reflectively fetching information
about the implemented type is expensive and unnecessary to be done more than once.
| Constructor Summary | |
|---|---|
ReadOnlyEntityProxyFactory(EntityManager entityManager,
java.lang.Class<T> type)
Cache information about the accessors (can be getters or annotated) and field names. |
|
| Method Summary | |
|---|---|
ReadOnlyEntityProxy<T,K> |
build(K primaryKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadOnlyEntityProxyFactory(EntityManager entityManager,
java.lang.Class<T> type)
| Method Detail |
|---|
public ReadOnlyEntityProxy<T,K> build(K primaryKey)
primaryKey - the primary key object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||