Spring Framework MetadataReader - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework MetadataReader class.

This code example shows how to use the following methods:getAnnotationMetadata
	 * given MetadataReader describes. 
	 * @param metadataReader the MetadataReader for the scanned target class 
	 */ 
	public ScannedGenericBeanDefinition(MetadataReader metadataReader) {
		Assert.notNull(metadataReader, "MetadataReader must not be null");
		this.metadata = metadataReader.getAnnotationMetadata();
		setBeanClassName(this.metadata.getClassName());
	} 
 
 
	@Override 
	public final AnnotationMetadata getMetadata() {
		return this.metadata;
	} 
 
	@Override 
	public MethodMetadata getFactoryMethodMetadata() {
		return null; 
	} 
 
6
CodeRank
See Code Examples for Spring Framework MetadataReader Methods: