use of com.tvd12.ezyfox.util.EzyDestroyable in project ezyhttp by youngmonkeys.
the class SimpleApplicationContext method destroy.
@SuppressWarnings("rawtypes")
@Override
public void destroy() {
List destroyableComponents = beanContext.getSingletonsOf(EzyDestroyable.class);
for (Object component : destroyableComponents) {
((EzyDestroyable) component).destroy();
}
ComponentManager.getInstance().destroy();
}
Aggregations