]
Matej Briskar reassigned FORGE-1855:
------------------------------------
Assignee: Matej Briskar
Simple Container should support singleton services
--------------------------------------------------
Key: FORGE-1855
URL:
https://issues.jboss.org/browse/FORGE-1855
Project: Forge
Issue Type: Feature Request
Components: Furnace Simple
Affects Versions: 2.6.0.Final
Reporter: George Gastaldi
Assignee: Matej Briskar
Fix For: 2.x Future
In CDI we use @Singleton to make a bean a singleton, however there is no equivalent on
the simple container.
I propose a {{public interface SingletonService extends Service}} that could be checked
while creating instances in {{SimpleExportedInstanceImpl}}