| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuddyProxyHelper | |
| private CompositeType | |
| private String | |
| private Method | |
| private Class | |
| private static final CoreMessageLogger | |
| private boolean | |
| private Class | |
| private Class | |
| private Method |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private HibernateProxy | |
| private PrimeAmongSecondarySupertypes | getHibernateProxyInternal()
This technically returns a HibernateProxy, but declaring that type as the return type for the privileged action triggers an implicit case of type pollution. |
| public HibernateProxy | getProxy(Object
The id value for the proxy to be generated. id, SharedSessionContractImplementor The session to which the generated proxy will be
associated. session)Implements org. |
| public void | postInstantiate(String
The name of the entity for which this factory should
generate proxies. entityName, Class<?> The entity class for which to generate proxies;
not always the same as the entityName. persistentClass, Set<Class<?>> The interfaces to expose in the generated proxy;
interfaces, Method HibernateProxy is already included in this collection.Reference to the identifier getter method;
invocation on this method should not force initialization getIdentifierMethod, Method Reference to the identifier setter method;
invocation on this method should not force initialization setIdentifierMethod, CompositeType For composite identifier types, a reference to
the type of the identifier
property; again accessing the id should generally not cause
initialization - but need to bear in mind <key-many-to-one/>
mappings. componentIdType)Implements org. |
| private Class |
| byteBuddyProxyHelper | back to summary |
|---|---|
| private final ByteBuddyProxyHelper byteBuddyProxyHelper | |
| componentIdType | back to summary |
|---|---|
| private CompositeType componentIdType | |
| entityName | back to summary |
|---|---|
| private String entityName | |
| getIdentifierMethod | back to summary |
|---|---|
| private Method getIdentifierMethod | |
| interfaces | back to summary |
|---|---|
| private Class<?>[] interfaces | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| overridesEquals | back to summary |
|---|---|
| private boolean overridesEquals | |
| persistentClass | back to summary |
|---|---|
| private Class<?> persistentClass | |
| proxyClass | back to summary |
|---|---|
| private Class<?> proxyClass | |
| setIdentifierMethod | back to summary |
|---|---|
| private Method setIdentifierMethod | |
| ByteBuddyProxyFactory | back to summary |
|---|---|
| public ByteBuddyProxyFactory(ByteBuddyProxyHelper byteBuddyProxyHelper) | |
| getHibernateProxy | back to summary |
|---|---|
| private HibernateProxy getHibernateProxy() | |
| getHibernateProxyInternal | back to summary |
|---|---|
| private PrimeAmongSecondarySupertypes getHibernateProxyInternal() throws HibernateException This technically returns a HibernateProxy, but declaring that type as the return type for the privileged action triggers an implicit case of type pollution. We therefore declare it as PrimeAmongSecondarySupertypes, and require the invoker to perform the narrowing | |
| getProxy | back to summary |
|---|---|
| public HibernateProxy getProxy(Object id, SharedSessionContractImplementor session) throws HibernateException Implements org. Doc from org. Create a new proxy instance
| |
| postInstantiate | back to summary |
|---|---|
| public void postInstantiate(String entityName, Class<?> persistentClass, Set<Class<?>> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType) throws HibernateException Implements org. Doc from org. Called immediately after instantiation of this factory. Essentially equivalent to constructor injection, but contracted here via interface.
| |
| toArray | back to summary |
|---|---|
| private Class | |