public void printAllExtensions ( ) { Extension [ ] exts = getExtensionList ( ) ; System . out . println ( "There are totally " + exts . length + " plugin(s) registered." ) ; for ( int i = 0 ; i < exts . length ; i ++ ) { System . out . println ( "\n ---- Plugin # " + ( i + 1 ) + " ---- " ) ; System . out . println ( "Key: " + exts [ i ] . getKey ( ) ) ; System . out . println ( "Version: " + exts [ i ] . getVersion ( ) ) ; System . out . println ( "Registration Time: " + exts [ i ] . getLastHeartbeatTime ( ) . getTime ( ) ) ; System . out . println ( "Configuration URL: " + exts [ i ] . getServer ( ) [ 0 ] . getUrl ( ) ) ; } }
Print out information of all the plugins to stdout