io.leopard.burrow.lang.ContextImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leopard-lang Show documentation
Show all versions of leopard-lang Show documentation
异常类、Util类、Leopard自定义的数据类型等
package io.leopard.burrow.lang;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class ContextImpl implements Context {
protected Log logger = LogFactory.getLog(this.getClass());
private Log beanLogger = LogFactory.getLog("BEANLOG." + this.getClass().getName());
@PostConstruct
@Override
public void init() {
beanLogger.info("init");
}
@PreDestroy
@Override
public void destroy() {
beanLogger.info("destroy");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy