Newer
Older
CactusServer / src / main / java / cactusServer / utils / App.java
package cactusServer.utils;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import org.glassfish.jersey.server.ResourceConfig;

import cactusServer.models.Accounts;
import cactusServer.models.CharacterManager;
import cactusServer.models.StageManager;

@SuppressWarnings("unused")
@ApplicationPath("/rest")
public class App extends ResourceConfig {
	public App() {
		StageManager.getInstance();
		CharacterManager.getInstance();
		Accounts.getInstance().createAcount("aaa", "bbb", "c");
		System.out.println("pass");
	}
}