com.github.datalking.context.annotation.BeanMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-mvc Show documentation
Show all versions of play-mvc Show documentation
simple mvc framework based on java servlet.
The newest version!
package com.github.datalking.context.annotation;
import com.github.datalking.common.meta.MethodMetadata;
/**
* ConfigurationClass中带有@Bean注解的方法
*
* @author yaoo on 4/13/18
*/
public class BeanMethod {
protected final MethodMetadata metadata;
protected final ConfigurationClass configurationClass;
public BeanMethod(MethodMetadata metadata, ConfigurationClass configurationClass) {
this.metadata = metadata;
this.configurationClass = configurationClass;
}
public MethodMetadata getMetadata() {
return metadata;
}
public ConfigurationClass getConfigurationClass() {
return configurationClass;
}
@Override
public String toString() {
return "BMethod{" +
"mName=" + metadata.getMethodName() +
", mReturn=" + metadata.getReturnTypeName() +
", mClass=" + metadata.getDeclaringClassName() +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy