@ Override public void shutdown ( ) { if ( this . bootstrap != null ) { AccessController . doPrivileged ( new PrivilegedAction < Void > ( ) { @ Override public Void run ( ) { bootstrap . shutdown ( ) ; return null ; } } ) ; this . bootstrap = null ; this . deploymentDBAs . clear ( ) ; this . applicationBDAs . clear ( ) ; this . classloader = null ; this . extensionClassLoaders . clear ( ) ; this . cdiEnabled = false ; this . cdiStatusMap . clear ( ) ; this . application = null ; this . classBDAMap . clear ( ) ; } }
Shutdown and clean up the whole deployment . The deployment will not be usable after this call has been made .