public void beforeShutdown ( @ Observes final BeforeShutdown bs ) { monitor . unregisterHealthReporter ( ) ; monitor . unregisterContextClassLoader ( ) ; reporter = null ; reporterInstance . preDestroy ( ) . dispose ( ) ; reporterInstance = null ; }
Called when the deployment is undeployed .