1 19 20 21 package org.apache.cayenne.conf; 22 23 import java.util.Map ; 24 25 32 public interface ConfigLoaderDelegate { 33 37 public void startedLoading(); 38 39 42 public void finishedLoading(); 43 44 48 public void shouldLoadProjectVersion(String version); 49 50 55 public void shouldLoadDataDomain(String name); 56 57 63 public void shouldRegisterDataView(String name, String location); 64 65 68 public void shouldLoadDataMaps(String domainName, Map locations); 69 70 73 public void shouldLoadDataDomainProperties(String domainName, Map properties); 74 75 public void shouldLoadDataNode( 76 String domainName, 77 String nodeName, 78 String dataSource, 79 String adapter, 80 String factory); 81 82 public void shouldLinkDataMap( 83 String domainName, 84 String nodeName, 85 String mapName); 86 87 95 public boolean loadError(Throwable th); 96 97 100 public ConfigStatus getStatus(); 101 } 102 | Popular Tags |