question: public static String serviceFromConfigFileName ( String configFileName ) { String prefx = ReplicationServiceManager . CONFIG_FILE_PREFIX ; String suffix = ReplicationServiceManager . CONFIG_FILE_SUFFIX ; if ( configFileName . contains ( prefx ) && configFileName . endsWith ( suffix ) ) { int iP = configFileName . indexOf ( prefx ) ; return configFileName . substring ( iP + prefx . length ( ) , configFileName . length ( ) - suffix . length ( ) ) ; } else return null ; }
target:  Parse out service name from static configuration file name.