private void notifyListeners ( boolean init , boolean before )
{
Enumeration enumm = listeners_.elements ();
while ( enumm.hasMoreElements () ) {
TSListener l = (TSListener) enumm.nextElement ();
try {
if ( init ) {
l.init ( before , properties_ );
} else {
l.shutdown ( before );
}
}
catch ( Exception e ) {
Configuration.logWarning ( "Error in TSListener" , e );
}