Skip to content

Commit

Permalink
Polish #34
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Dec 27, 2024
1 parent 2e3b891 commit 9041180
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ public void postProcessBeforeDestruction(Object bean, String beanName) throws Be
this.beanEventListeners.onBeforeBeanDestroy(beanName, bean);
}

/**
* {@inheritDoc}
*
* @since Spring Framework 4.3
*/
public boolean requiresDestruction(Object object) {
return true;
}

private void prepareBeanDefinitions(BeanDefinitionRegistry registry) {
String[] beanNames = registry.getBeanDefinitionNames();
int length = beanNames.length;
Expand Down

0 comments on commit 9041180

Please sign in to comment.