question: private ReplicatorRuntimeConf ( String serviceName ) { replicatorHomeDir = locateReplicatorHomeDir ( ) ; replicatorLogDir = locateReplicatorLogDir ( ) ; replicatorConfDir = locateReplicatorConfDir ( ) ; replicatorProperties = new File ( locateReplicatorConfDir ( ) , "static-" + serviceName + ".properties" ) ; if ( ! replicatorProperties . isFile ( ) || ! replicatorProperties . canRead ( ) ) { throw new ServerRuntimeException ( "Replicator static properties does not exist or is invalid: " + replicatorProperties ) ; } replicatorDynamicProperties = new File ( replicatorConfDir , "dynamic-" + serviceName + ".properties" ) ; replicatorDynamicRole = new File ( replicatorConfDir , "dynamic-" + serviceName + ".role" ) ; this . clearDynamicProperties = Boolean . parseBoolean ( System . getProperty ( CLEAR_DYNAMIC_PROPERTIES ) ) ; }
target:  Creates a new instance. 