[weld-issues] [JBoss JIRA] Created: (WELDX-167) Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sun Oct 10 08:13:39 EDT 2010
Disposer methods for @Default producer methods declared on generic beans require explicit definition of @Default
----------------------------------------------------------------------------------------------------------------
Key: WELDX-167
URL: https://jira.jboss.org/browse/WELDX-167
Project: Weld Extensions
Issue Type: Bug
Components: Generic Beans
Reporter: Pete Muir
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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list