Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // This software is released into the Public Domain.  See copying.txt for details.
 package org.openstreetmap.osmosis.replicationhttp;
 
 import java.util.Map;
 
The plugin loader for the API Schema tasks.

Author(s):
Brett Henderson
public class ReplicationHttpPluginLoader implements PluginLoader {

		factoryMap = new HashMap<StringTaskManagerFactory>();
		factoryMap.put("receive-replication"new ReplicationDataClientFactory());
		factoryMap.put("rr"new ReplicationDataClientFactory());
		factoryMap.put("send-replication-data"new ReplicationDataServerFactory());
		factoryMap.put("srd"new ReplicationDataServerFactory());
		factoryMap.put("send-replication-sequence"new ReplicationSequenceServerFactory());
		factoryMap.put("srs"new ReplicationSequenceServerFactory());
		factoryMap.put("read-replication-0.6"new ReplicationDataClientFactory());
		factoryMap.put("send-replication-data-0.6"new ReplicationDataServerFactory());
		factoryMap.put("send-replication-sequence-0.6"new ReplicationSequenceServerFactory());
		return factoryMap;
	}
New to GrepCode? Check out our FAQ X