[seam-issues] [JBoss JIRA] Resolved: (SOLDER-7) Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Thu Dec 16 16:37:17 EST 2010
[ https://issues.jboss.org/browse/SOLDER-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved SOLDER-7.
---------------------------------
Resolution: Done
https://github.com/seam/solder/pull/6
> Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SOLDER-7
> URL: https://issues.jboss.org/browse/SOLDER-7
> Project: Seam Solder
> Issue Type: Bug
> Components: Generic Beans
> Reporter: Pete Muir
> Assignee: Stuart Douglas
> Fix For: 1.0.0.Beta2
>
>
> For example
> @Produces
> public ComputeServiceContext getContext()
> {
> return this.factory.createContext(config.provider(), properties);
> }
>
> public void cleanup(@Disposes @Generic ComputeServiceContext context)
> {
> context.close();
> }
> will cause the disposer to not be resolved for the producer method
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list