com.github.datalking.beans.factory.support.GenericBeanDefinition 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.beans.factory.support;
import com.github.datalking.beans.factory.config.BeanDefinition;
/**
* BeanDefinition默认的简单实现类
* 代替spring的ChildBeanDefinition
*
* @author yaoo on 4/3/18
*/
public class GenericBeanDefinition extends AbstractBeanDefinition {
// private String parentName;
public GenericBeanDefinition(BeanDefinition original) {
super(original);
}
public GenericBeanDefinition() {
super();
}
@Override
public AbstractBeanDefinition cloneBeanDefinition() {
return new GenericBeanDefinition(this);
}
@Override
public boolean equals(Object o) {
return (this == o || (o instanceof GenericBeanDefinition && super.equals(o)));
}
@Override
public String toString() {
return "GenericBDef: " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy