ch.elca.el4j.core.context.annotations
Class LazyInitAwareScopeMetadataResolver

java.lang.Object
  extended by org.springframework.context.annotation.AnnotationScopeMetadataResolver
      extended by ch.elca.el4j.core.context.annotations.LazyInitAwareScopeMetadataResolver
All Implemented Interfaces:
ScopeMetadataResolver

Deprecated. As of EL4J version 2.0 (and the update to Spring 3) this AnnitationScopeMetadataResolver should be no longer used because the corresponding annotation LazyInit has deprecated. Use the newly added annotation Lazy of Spring 3 instead of the deprecated LazyInit annotation.

@Deprecated
public class LazyInitAwareScopeMetadataResolver
extends AnnotationScopeMetadataResolver

This AnnotationScopeMetadataResolver searches for LazyInit annotations on the class and modifies the bean definition according to that. This is a bit hacky because lazy initialization actually has nothing to do with the scope, but no better extension point could be found in Spring 2.5.5.

Author:
Stefan Wismer (SWI), Jonas Hauenstein (JHN)
File-location:
LazyInitAwareScopeMetadataResolver
Last check-in date:
2010-01-20 13:11:23 +0100 (Mi, 20. Jan 2010) by jonasha for revision 4100

Constructor Summary
LazyInitAwareScopeMetadataResolver()
          Deprecated.  
 
Method Summary
 ScopeMetadata resolveScopeMetadata(BeanDefinition definition)
          Deprecated. 
 
Methods inherited from class org.springframework.context.annotation.AnnotationScopeMetadataResolver
setScopeAnnotationType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyInitAwareScopeMetadataResolver

public LazyInitAwareScopeMetadataResolver()
Deprecated. 
Method Detail

resolveScopeMetadata

public ScopeMetadata resolveScopeMetadata(BeanDefinition definition)
Deprecated. 

Specified by:
resolveScopeMetadata in interface ScopeMetadataResolver
Overrides:
resolveScopeMetadata in class AnnotationScopeMetadataResolver


Copyright © 2005-2011 ELCA. All Rights Reserved.