AppContext.Listner

When using the code below, I get an error “AppContext cannot be resolved to type” in the IDE and there is no “quick fix”.


package com.company.backgr.core;

import org.springframework.stereotype.Component;

@Component("backgr_ManagerWorker")
public class ManagerWorker implements AppContext.Listener {
	
    private Integer count;

    public ManagerWorker() {
        count = 0;
    }
	
    public void Count() {
        count = count + 1;
    }
	 
    public Integer getCount() {
        return count; 
    }
}

I’m trying to implement this:
[url=]https://doc.cuba-platform.com/manual-6.5/app_start_recipe.html[/url]
What are the imports required for this to work?

import com.haulmont.cuba.core.sys.AppContext;