org.springframework.context.annotation
Interface ConfigurationClassEnhancer.EnhancedConfiguration

All Superinterfaces:
DisposableBean
Enclosing class:
ConfigurationClassEnhancer

public static interface ConfigurationClassEnhancer.EnhancedConfiguration
extends DisposableBean

Marker interface to be implemented by all @Configuration CGLIB subclasses. Facilitates idempotent behavior for ConfigurationClassEnhancer.enhance(Class) through checking to see if candidate classes are already assignable to it, e.g. have already been enhanced.

Also extends DisposableBean, as all enhanced @Configuration classes must de-register static CGLIB callbacks on destruction, which is handled by the (private) DisposableBeanMethodInterceptor.

Note that this interface is intended for framework-internal use only, however must remain public in order to allow access to subclasses generated from other packages (i.e. user code).


Method Summary
 
Methods inherited from interface org.springframework.beans.factory.DisposableBean
destroy