view app/Global.java @ 81:3ebc3061f869 draft

create getUserLatestClaims.
author one
date Fri, 08 Mar 2013 21:12:37 +0900
parents 7121a35a61b9
children
line wrap: on
line source

import init.InitialData;

import models.TPGraph;
import play.Application;
import play.GlobalSettings;
import play.Logger;

public class Global extends GlobalSettings {

	@Override
	public void onStart(Application app) {
		InitialData.init();
	}

	@Override
	public void onStop(Application app) {
		Logger.info("Application shutdown...");
		TPGraph tpGraph = TPGraph.getInstance();
		tpGraph.shutdownGraph();
		TPGraph.resetInstance();
	}
}