com.truthbean.debbie.proxy.BeanProxy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of debbie-core Show documentation
Show all versions of debbie-core Show documentation
a java microservice project
The newest version!
package com.truthbean.debbie.proxy;
import java.util.function.Supplier;
/**
* @author TruthBean
* @since 0.5.4
* Created on 2022/01/03 14:19.
*/
public interface BeanProxy {
default T proxy(T bean) {
return proxy(() -> bean);
}
T proxy(Supplier bean);
}