jodd-petite/src/main/java/jodd/petite/BeanData.java
public void callDestroyMethods() {
		for (final DestroyMethodPoint destroyMethodPoint : beanDefinition.destroyMethodPoints()) {
			try {
				destroyMethodPoint.method.invoke(bean);
			} catch (Exception ex) {
				throw new PetiteException("Invalid destroy method: " + destroyMethodPoint.method, ex);
			}
		}
	}
public void callDestroyMethods() {
		for (final DestroyMethodPoint destroyMethodPoint : beanDefinition.destroyMethodPoints()) {
			try {
				destroyMethodPoint.method.invoke(bean);
			} catch (Exception ex) {
				throw new PetiteException("Invalid destroy method: " + destroyMethodPoint.method, ex);
			}
		}
	}
public void callDestroyMethods ( ) { for ( final DestroyMethodPoint destroyMethodPoint : beanDefinition . destroyMethodPoints ( ) ) { try { destroyMethodPoint . method . invoke ( bean ) ; } catch ( Exception ex ) { throw new PetiteException ( "Invalid destroy method: " + destroyMethodPoint . method , ex ) ; } } }
Calls destroy methods on given BeanData. Destroy methods are called
without any order.
Calls destroy methods on given BeanData . Destroy methods are called without any order .