[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1073) nodePassivated/nodeActivated callbacks in CacheListener to provide data

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed May 30 07:39:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-1073?page=all ]

Manik Surtani closed JBCACHE-1073.
----------------------------------

    Resolution: Done

> nodePassivated/nodeActivated callbacks in CacheListener to provide data
> -----------------------------------------------------------------------
>
>                 Key: JBCACHE-1073
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1073
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.CR1
>            Reporter: Manik Surtani
>         Assigned To: Manik Surtani
>             Fix For: 2.0.0.CR2, 2.0.0.GA
>
>
> From an email thread with Brian:
> The EJB3 SFSB layer needs access to the data in the relevant node when it gets a nodePassivated(fqn, true) callback.  It needs it so it can get the bean context and invoke any @PrePassivate methods.
> When it gets the data, it can't go through the interceptor chain or that causes a bunch of problems that we sorted last fall and early this year.
> In CR2 getting this data w/o going through the interceptors is now impossible, at least w/o some nasty hacks I haven't dreamed up yet.  In 1.4 we did it with the now removed peek() method.  Earlier in 2.0 we used Option.setBypassInterceptorChain(), but it seems that is now gone as well.
> How about we change the method signature of the notification to provide the data in the callback?  Looking at the PassivationInterceptor, this is easy to do -- the data map is sitting right there.  If we do, this data param should be null in the 'post' callback.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list