question: public void onUndeploy ( ClassLoader ldr ) { for ( Class < ? > cls : descByCls . keySet ( ) ) { if ( ldr . equals ( cls . getClassLoader ( ) ) ) descByCls . remove ( cls ) ; } U . clearClassCache ( ldr ) ; }
target:  Undeployment callback invoked when class loader is being undeployed. Some marshallers may want to clean their internal state that uses the undeployed class loader somehow.