org.springframework.config.java.support
Interface BytecodeConfigurationEnhancer

All Known Implementing Classes:
CglibConfigurationEnhancer

public interface BytecodeConfigurationEnhancer

Decorate the given configuration class for usage inside Spring application context.

The created subclass will behave correctly with AOP weaving and singleton caching. For example, the original class will return a new instance on every call to a bean() method that has singleton scope. The subclass will cache that and also perform AOP weaving.

Author:
Costin Leau

Method Summary
<T> java.lang.Class<? extends T>
enhanceConfiguration(java.lang.Class<T> configurationClass)
          Create a new enhanced subclass of the given configuration instance and class.
 

Method Detail

enhanceConfiguration

<T> java.lang.Class<? extends T> enhanceConfiguration(java.lang.Class<T> configurationClass)
Create a new enhanced subclass of the given configuration instance and class.

Parameters:
configurationClass - configuration class - mandatory
Returns:
the enhanced class


Copyright © 2005-2007 Spring Framework. All Rights Reserved.