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

Quick Search    Search Deep

org.hibernate.proxy.map
Class MapProxyFactory  view MapProxyFactory download MapProxyFactory.java

java.lang.Object
  extended byorg.hibernate.proxy.map.MapProxyFactory
All Implemented Interfaces:
org.hibernate.proxy.ProxyFactory

public class MapProxyFactory
extends java.lang.Object
implements org.hibernate.proxy.ProxyFactory


Field Summary
private  java.lang.String entityName
           
 
Constructor Summary
MapProxyFactory()
           
 
Method Summary
 org.hibernate.proxy.HibernateProxy getProxy(java.io.Serializable id, org.hibernate.engine.SessionImplementor session)
          Create a new proxy instance
 void postInstantiate(java.lang.String entityName, java.lang.Class persistentClass, java.util.Set interfaces, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, org.hibernate.type.AbstractComponentType componentIdType)
          Called immediately after instantiation of this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityName

private java.lang.String entityName
Constructor Detail

MapProxyFactory

public MapProxyFactory()
Method Detail

postInstantiate

public void postInstantiate(java.lang.String entityName,
                            java.lang.Class persistentClass,
                            java.util.Set interfaces,
                            java.lang.reflect.Method getIdentifierMethod,
                            java.lang.reflect.Method setIdentifierMethod,
                            org.hibernate.type.AbstractComponentType componentIdType)
                     throws org.hibernate.HibernateException
Description copied from interface: org.hibernate.proxy.ProxyFactory
Called immediately after instantiation of this factory.

Essentially equivalent to contructor injection, but contracted here via interface.

Specified by:
postInstantiate in interface org.hibernate.proxy.ProxyFactory

getProxy

public org.hibernate.proxy.HibernateProxy getProxy(java.io.Serializable id,
                                                   org.hibernate.engine.SessionImplementor session)
                                            throws org.hibernate.HibernateException
Description copied from interface: org.hibernate.proxy.ProxyFactory
Create a new proxy instance

Specified by:
getProxy in interface org.hibernate.proxy.ProxyFactory