이 콘텐츠는 선택한 언어로 제공되지 않습니다.
12.12. @Initialize and @Uninitialize
Sometimes your component needs more involved configuration for which we need to write some "initialization" code. For this, Smooks provides the
@Initialize annotation.
Likewise, there are times when you need to undo work performed during initialization when the associated Smooks instance is being discarded (garbage collected) e.g. to release some resources acquired during initialization. For this, Smooks provides the
@Uninitialize annotation.