proxy factory instances.
Currently used to abstract from the tuplizer whether we are using Byte Buddy or possibly another implementation (in the future?) for lazy proxy generation.
| Modifier and Type | Method and Description |
|---|---|
| public BasicProxyFactory | Returns: The proxy classThe abstract super class (or null if none). superClass, Class<T>[] Interfaces to be proxied (or null if none). interfaces)
Deprecated
Use
Build a proxy factory for basic proxy concerns.
buildBasicProxyFactory(Class) instead.
|
| public BasicProxyFactory | Returns: The proxy classThe abstract super class, or the
interface to be proxied. superClassOrInterface)Build a proxy factory for basic proxy concerns. |
| public ProxyFactory | Returns: The lazy-load proxy factory.
Deprecated
as a consequence of
Build a proxy factory specifically for handling runtime
lazy loading.
SessionFactoryImplementor being deprecated.
|
| buildBasicProxyFactory | back to summary |
|---|---|
| public BasicProxyFactory buildBasicProxyFactory(Class<T> superClass, Class<T>[] interfaces)
Deprecated Use Build a proxy factory for basic proxy concerns. The return should be capable of properly handling newInstance() calls. Should build basic proxies essentially equivalent to JDK proxies in terms of capabilities, but should be able to deal with abstract super classes in addition to proxy interfaces. Must pass in either superClass or interfaces (or both).
| |
| buildBasicProxyFactory | back to summary |
|---|---|
| public BasicProxyFactory buildBasicProxyFactory(Class<T> superClassOrInterface) Build a proxy factory for basic proxy concerns. The return should be capable of properly handling newInstance() calls. Should build basic proxies essentially equivalent to JDK proxies in terms of capabilities, but should be able to deal with abstract super classes in addition to proxy interfaces. Must pass in either a superClass or an interface.
| |
| buildProxyFactory | back to summary |
|---|---|
| public ProxyFactory buildProxyFactory(SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of Build a proxy factory specifically for handling runtime lazy loading.
| |