io.dinject.core.BeanLifecycle Maven / Gradle / Ivy
package io.dinject.core;
/**
* Lifecycle of beans via @PostConstruct
and @PreDestroy
.
*/
public interface BeanLifecycle {
/**
* Fire post construction.
*/
void postConstruct();
/**
* Fire on shutdown or close of the bean context.
*/
void preDestroy();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy