Hi,
I have a Seam component annotated like this:
@AutoCreate
@Name("asyncServiceManager")
@Scope(ScopeType.APPLICATION)
public class AsyncServiceManager {
The classes that use it are configured like this:
@In("#{asyncServiceManager}")
private AsyncServiceManager asyncServiceManager;
When running the code, I see that the class AsyncServiceManager
is instantiated everytime it is used. As I annotated the class with scope APPLICATION, this should not be the case. I need this class to be a singleton, so to speak...
Thanks!