Package org.springframework.samples.imagedb

Examples of org.springframework.samples.imagedb.ImageDatabase


    int nrOfCalls = 1;
    if (args.length > 1 && !"".equals(args[1])) {
      nrOfCalls = Integer.parseInt(args[1]);
    }
    ApplicationContext context = new FileSystemXmlApplicationContext(CONTEXT_CONFIG_LOCATION);
    ImageDatabase idb = (ImageDatabase) context.getBean("imageDatabase");
    StandaloneImageTool tool = new StandaloneImageTool(idb);
    tool.listImages(nrOfCalls);
  }
View Full Code Here

TOP

Related Classes of org.springframework.samples.imagedb.ImageDatabase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.