package cactusServer.utils; import java.io.IOException; import javax.ws.rs.ProcessingException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerRequestFilter; import javax.ws.rs.core.Application; import javax.ws.rs.ext.Provider; import cactusServer.models.*; import org.glassfish.jersey.server.filter.*; import org.glassfish.jersey.server.spi.ContainerProvider; @Provider public class Initialize implements ContainerRequestFilter { @Override public void filter(ContainerRequestContext requestContext) throws IOException { StageManager.getInstance(); } }