Deprecated
Per HHH-5451 support for cglib as a bytecode provider has been deprecated.
| Modifier and Type | Field and Description |
|---|---|
| private CompositeType | |
| private String | |
| private Class | |
| private Method | |
| private Class | |
| protected static final Class | |
| private Class | |
| private Method |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HibernateProxy | getProxy(Serializable
The id value for the proxy to be generated. id, SessionImplementor The session to which the generated proxy will be
associated. session)Implements org. |
| public void | postInstantiate(final String
The name of the entity for which this factory should
generate proxies. entityName, final Class<T> The entity class for which to generate proxies;
not always the same as the entityName. persistentClass, final Set<E> The interfaces to expose in the generated proxy;
interfaces, final Method HibernateProxy is already included in this collection.Reference to the identifier getter method;
invocation on this method should not force initialization getIdentifierMethod, final 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 componentIdType)type of the identifier
property; again accessing the id should generally not cause
initialization - but need to bear in mind Implements org. |
| componentIdType | back to summary |
|---|---|
| private CompositeType componentIdType | |
| entityName | back to summary |
|---|---|
| private String entityName | |
| factory | back to summary |
|---|---|
| private Class<T> factory | |
| getIdentifierMethod | back to summary |
|---|---|
| private Method getIdentifierMethod | |
| interfaces | back to summary |
|---|---|
| private Class<T>[] interfaces | |
| NO_CLASSES | back to summary |
|---|---|
| protected static final Class<T>[] NO_CLASSES | |
| persistentClass | back to summary |
|---|---|
| private Class<T> persistentClass | |
| setIdentifierMethod | back to summary |
|---|---|
| private Method setIdentifierMethod | |
| CGLIBProxyFactory | back to summary |
|---|---|
| public CGLIBProxyFactory() | |
| getProxy | back to summary |
|---|---|
| public HibernateProxy getProxy(Serializable id, SessionImplementor session) throws HibernateException Implements org. Doc from org. Create a new proxy instance
| |
| postInstantiate | back to summary |
|---|---|
| public void postInstantiate(final String entityName, final Class<T> persistentClass, final Set<E> interfaces, final Method getIdentifierMethod, final 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.
| |