Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.proxy.pojo.cglib
Class CGLIBLazyInitializer  view CGLIBLazyInitializer download CGLIBLazyInitializer.java

java.lang.Object
  extended byorg.hibernate.proxy.AbstractLazyInitializer
      extended byorg.hibernate.proxy.pojo.BasicLazyInitializer
          extended byorg.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer
All Implemented Interfaces:
org.hibernate.proxy.LazyInitializer

public final class CGLIBLazyInitializer
extends org.hibernate.proxy.pojo.BasicLazyInitializer

A LazyInitializer implemented using the CGLIB bytecode generation library


Field Summary
private static java.lang.Class[] CALLBACK_TYPES
           
private  boolean constructed
           
private static CallbackFilter FINALIZE_FILTER
           
private  java.lang.Class[] interfaces
           
 
Fields inherited from class org.hibernate.proxy.pojo.BasicLazyInitializer
componentIdType, getIdentifierMethod, INVOKE_IMPLEMENTATION, overridesEquals, persistentClass, setIdentifierMethod
 
Fields inherited from class org.hibernate.proxy.AbstractLazyInitializer
 
Constructor Summary
private CGLIBLazyInitializer(java.lang.String entityName, java.lang.Class persistentClass, java.lang.Class[] interfaces, java.io.Serializable id, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, org.hibernate.type.AbstractComponentType componentIdType, org.hibernate.engine.SessionImplementor session)
           
 
Method Summary
static org.hibernate.proxy.HibernateProxy getProxy(java.lang.Class factory, java.lang.String entityName, java.lang.Class persistentClass, java.lang.Class[] interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, org.hibernate.type.AbstractComponentType componentIdType, java.io.Serializable id, org.hibernate.engine.SessionImplementor session)
           
(package private) static org.hibernate.proxy.HibernateProxy getProxy(java.lang.String entityName, java.lang.Class persistentClass, java.lang.Class[] interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, org.hibernate.type.AbstractComponentType componentIdType, java.io.Serializable id, org.hibernate.engine.SessionImplementor session)
           
static java.lang.Class getProxyFactory(java.lang.Class persistentClass, java.lang.Class[] interfaces)
           
 java.lang.Object intercept(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, MethodProxy methodProxy)
           
protected  java.lang.Object serializableProxy()
           
 
Methods inherited from class org.hibernate.proxy.pojo.BasicLazyInitializer
getPersistentClass, invoke
 
Methods inherited from class org.hibernate.proxy.AbstractLazyInitializer
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isUninitialized, isUnwrap, setIdentifier, setImplementation, setSession, setUnwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALLBACK_TYPES

private static final java.lang.Class[] CALLBACK_TYPES

FINALIZE_FILTER

private static final CallbackFilter FINALIZE_FILTER

interfaces

private java.lang.Class[] interfaces

constructed

private boolean constructed
Constructor Detail

CGLIBLazyInitializer

private CGLIBLazyInitializer(java.lang.String entityName,
                             java.lang.Class persistentClass,
                             java.lang.Class[] interfaces,
                             java.io.Serializable id,
                             java.lang.reflect.Method getIdentifierMethod,
                             java.lang.reflect.Method setIdentifierMethod,
                             org.hibernate.type.AbstractComponentType componentIdType,
                             org.hibernate.engine.SessionImplementor session)
Method Detail

getProxy

static org.hibernate.proxy.HibernateProxy getProxy(java.lang.String entityName,
                                                   java.lang.Class persistentClass,
                                                   java.lang.Class[] interfaces,
                                                   java.lang.reflect.Method getIdentifierMethod,
                                                   java.lang.reflect.Method setIdentifierMethod,
                                                   org.hibernate.type.AbstractComponentType componentIdType,
                                                   java.io.Serializable id,
                                                   org.hibernate.engine.SessionImplementor session)
                                            throws org.hibernate.HibernateException

getProxy

public static org.hibernate.proxy.HibernateProxy getProxy(java.lang.Class factory,
                                                          java.lang.String entityName,
                                                          java.lang.Class persistentClass,
                                                          java.lang.Class[] interfaces,
                                                          java.lang.reflect.Method getIdentifierMethod,
                                                          java.lang.reflect.Method setIdentifierMethod,
                                                          org.hibernate.type.AbstractComponentType componentIdType,
                                                          java.io.Serializable id,
                                                          org.hibernate.engine.SessionImplementor session)
                                                   throws org.hibernate.HibernateException

getProxyFactory

public static java.lang.Class getProxyFactory(java.lang.Class persistentClass,
                                              java.lang.Class[] interfaces)
                                       throws org.hibernate.HibernateException

intercept

public java.lang.Object intercept(java.lang.Object proxy,
                                  java.lang.reflect.Method method,
                                  java.lang.Object[] args,
                                  MethodProxy methodProxy)
                           throws java.lang.Throwable

serializableProxy

protected java.lang.Object serializableProxy()