1 package org.sapia.regis; 2 3 import java.util.Properties; 4 5 public interface RegistryFactory { 6 7 /** 8 * @param props the <code>Properties</code> to used to connect to the desired 9 * <code>Registry</code>. 10 * @return a <code>Registry</code>. 11 * @throws Exception if a problem occurs while attempting to connect. 12 */ 13 public Registry connect(Properties props) throws Exception; 14 15 } 16