org.compass.core.util.proxy.extractor
Class HibernateProxyExtractor

java.lang.Object
  extended by org.compass.core.util.proxy.extractor.HibernateProxyExtractor
All Implemented Interfaces:
ProxyExtractor

public class HibernateProxyExtractor
extends Object
implements ProxyExtractor

Uses Hibernate HibernateProxyHelper.getClassWithoutInitializingProxy(Object) in order to get a class wrapped by a HibernateProxy.

Author:
kimchy

Constructor Summary
HibernateProxyExtractor()
           
 
Method Summary
 Class getTargetClass(Object obj)
          Returns the actual class of the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateProxyExtractor

public HibernateProxyExtractor()
Method Detail

getTargetClass

public Class getTargetClass(Object obj)
Description copied from interface: ProxyExtractor
Returns the actual class of the given object.

Specified by:
getTargetClass in interface ProxyExtractor


Copyright (c) 2004-2008 The Compass Project.