deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DELTASPIKE-1233) For injectFields helper method in BeanProvider, maybe there should be a dispose helper method
Date Tue, 21 Mar 2017 15:12:41 GMT

     [ https://issues.apache.org/jira/browse/DELTASPIKE-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek closed DELTASPIKE-1233.
----------------------------------------

> For injectFields helper method in BeanProvider, maybe there should be a dispose helper
method
> ---------------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-1233
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1233
>             Project: DeltaSpike
>          Issue Type: Wish
>            Reporter: Seto
>
> http://docs.jboss.org/weld/reference/latest/en-US/html_single/#_the_literal_injectiontarget_literal_interface
> I'm not sure whether the code below is necessary.
> {code:java}
> //destroy the framework component instance and clean up dependent objects
> it.preDestroy(instance);  //call the @PreDestroy method
> it.dispose(instance);  //it is now safe to discard the instance
> ctx.release();  //clean up dependent objects
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message