[forge-issues] [JBoss JIRA] (FORGE-1855) Simple Container should support singleton services
George Gastaldi (JIRA)
issues at jboss.org
Fri Jun 13 16:00:39 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976213#comment-12976213 ]
George Gastaldi commented on FORGE-1855:
----------------------------------------
Reopening to incorporate Lincoln's suggestions in https://github.com/forge/furnace-simple/pull/1
> Simple Container should support singleton services
> --------------------------------------------------
>
> Key: FORGE-1855
> URL: https://issues.jboss.org/browse/FORGE-1855
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Furnace Simple
> Affects Versions: 2.6.0.Final
> Reporter: George Gastaldi
> Assignee: Matej Briskar
> Fix For: 2.6.1.Final
>
>
> 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}}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list