public final class QuarkusProxyFactory extends Object implements org.hibernate.proxy.ProxyFactory
ProxyFactory implementation is very similar to the ByteBuddyProxyFactory,
except the class definitions of the proxies have been built upfront so to allow
usage of enhanced proxies in native images.| Constructor and Description |
|---|
QuarkusProxyFactory(ProxyDefinitions proxyClassDefinitions) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.proxy.HibernateProxy |
getProxy(Serializable id,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
void |
postInstantiate(String entityName,
Class persistentClass,
Set<Class> interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
org.hibernate.type.CompositeType componentIdType) |
public QuarkusProxyFactory(ProxyDefinitions proxyClassDefinitions)
public void postInstantiate(String entityName, Class persistentClass, Set<Class> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, org.hibernate.type.CompositeType componentIdType) throws org.hibernate.HibernateException
postInstantiate in interface org.hibernate.proxy.ProxyFactoryorg.hibernate.HibernateExceptionpublic org.hibernate.proxy.HibernateProxy getProxy(Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
getProxy in interface org.hibernate.proxy.ProxyFactoryorg.hibernate.HibernateExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.