final Set < String > getConnectorConfigurationNames ( ) { Set < String > connectorNames = new HashSet < String > ( ) ; Enumeration < Object > keyEnumeration = getSystemProperties ( ) . keys ( ) ; while ( keyEnumeration . hasMoreElements ( ) ) { String key = keyEnumeration . nextElement ( ) . toString ( ) ; // check if property key has tracee connector format Matcher matcher = KEY_MATCHER_PATTERN . matcher ( key ) ; if ( matcher . matches ( ) && matcher . groupCount ( ) > 0 ) { connectorNames . add ( matcher . group ( 1 ) ) ; } } return connectorNames ; }
Extracts all names for connector configurations from System properties .