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

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

public class SpringProxyExtractor
extends Object
implements ProxyExtractor

Uses AopUtils.getTargetClass(Object) in order to get the wrapped class from the object.

Author:
kimchy

Constructor Summary
SpringProxyExtractor()
           
 
Method Summary
 void configure(CompassSettings settings)
          Configure using the given settings.
 Class getTargetClass(Object obj)
          Returns the actual class of the given object.
 void initalizeProxy(Object obj)
          Initializes the proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringProxyExtractor

public SpringProxyExtractor()
Method Detail

configure

public void configure(CompassSettings settings)
               throws CompassException
Description copied from interface: CompassConfigurable
Configure using the given settings.

Specified by:
configure in interface CompassConfigurable
Parameters:
settings - The settings for the configured object
Throws:
CompassException

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

initalizeProxy

public void initalizeProxy(Object obj)
Description copied from interface: ProxyExtractor
Initializes the proxy.

Specified by:
initalizeProxy in interface ProxyExtractor


Copyright (c) 2004-2008 The Compass Project.