原创 Java學習:反射的應用,依賴加載

使用反射實現從配置文件加載類以及根據配置文件解決特定依賴關係。 配置文件reflect.properties: 1AdminDao=reflect.AdminDao 1GuestDao=reflect.GuestDao 1Manager=r