org.springframework.context.annotation
Class ConfigurationClassMethod
java.lang.Object
org.springframework.context.annotation.ConfigurationClassMethod
final class ConfigurationClassMethod
- extends java.lang.Object
Represents a Configuration
class method marked with the Bean
annotation.
- Since:
- 3.0
- Author:
- Chris Beams, Juergen Hoeller
- See Also:
ConfigurationClass
,
ConfigurationClassParser
,
ConfigurationClassBeanDefinitionReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
metadata
private final MethodMetadata metadata
configurationClass
private final ConfigurationClass configurationClass
ConfigurationClassMethod
public ConfigurationClassMethod(MethodMetadata metadata,
ConfigurationClass configurationClass)
getMetadata
public MethodMetadata getMetadata()
getConfigurationClass
public ConfigurationClass getConfigurationClass()
getResourceLocation
public Location getResourceLocation()
validate
public void validate(ProblemReporter problemReporter)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object