org.springframework.context.annotation
Class BeanMethod

java.lang.Object
  extended by org.springframework.context.annotation.ConfigurationMethod
      extended by org.springframework.context.annotation.BeanMethod

final class BeanMethod
extends ConfigurationMethod

Represents a Configuration class method marked with the Bean annotation.

Since:
3.0
Author:
Chris Beams, Juergen Hoeller
See Also:
ConfigurationClass, ConfigurationClassParser, ConfigurationClassBeanDefinitionReader

Nested Class Summary
private  class BeanMethod.NonOverridableMethodError
           
 
Field Summary
 
Fields inherited from class org.springframework.context.annotation.ConfigurationMethod
configurationClass, metadata
 
Constructor Summary
BeanMethod(MethodMetadata metadata, ConfigurationClass configurationClass)
           
 
Method Summary
 void validate(ProblemReporter problemReporter)
           
 
Methods inherited from class org.springframework.context.annotation.ConfigurationMethod
getConfigurationClass, getMetadata, getResourceLocation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanMethod

public BeanMethod(MethodMetadata metadata,
                  ConfigurationClass configurationClass)
Method Detail

validate

public void validate(ProblemReporter problemReporter)
Overrides:
validate in class ConfigurationMethod