예제 #1
0
        public virtual void  init(ExtendedProperties configuration)
        {
            dataSourceName  = configuration.getString("resource.datasource");
            tableName       = configuration.getString("resource.table");
            keyColumn       = configuration.getString("resource.keycolumn");
            templateColumn  = configuration.getString("resource.templatecolumn");
            timestampColumn = configuration.getString("resource.timestampcolumn");

            System.Diagnostics.Process.info("Resources Loaded From: " + dataSourceName + "/" + tableName);
            System.Diagnostics.Process.info("Resource Loader using columns: " + keyColumn + ", " + templateColumn + " and " + timestampColumn);
            System.Diagnostics.Process.info("Resource Loader Initalized.");
        }
	public virtual void  init(ExtendedProperties configuration) {
	    dataSourceName = configuration.getString("resource.datasource");
	    tableName = configuration.getString("resource.table");
	    keyColumn = configuration.getString("resource.keycolumn");
	    templateColumn = configuration.getString("resource.templatecolumn");
	    timestampColumn = configuration.getString("resource.timestampcolumn");

	    System.Diagnostics.Process.info("Resources Loaded From: " + dataSourceName + "/" + tableName);
	    System.Diagnostics.Process.info("Resource Loader using columns: " + keyColumn + ", " + templateColumn + " and " + timestampColumn);
	    System.Diagnostics.Process.info("Resource Loader Initalized.");
	}