You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/01/18 07:06:29 UTC

[jira] Created: (DIRMINA-335) Pre-configured session attributes

Pre-configured session attributes
---------------------------------

                 Key: DIRMINA-335
                 URL: https://issues.apache.org/jira/browse/DIRMINA-335
             Project: MINA
          Issue Type: New Feature
          Components: Filter
            Reporter: Trustin Lee
         Assigned To: Trustin Lee
            Priority: Minor
             Fix For: 2.0


An application might want to share a certain pre-defined session attribute among multiple filters and handlers.  Setting the attribute in IoHandler.sessionCreated() won't work fine if the filters access the attribute *before* it's invoked.  Providing an IoFilter, which sets pre-defined attributes before other filters and handler executes the event, would be the solution in this case.

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

        

[jira] Closed: (DIRMINA-335) Pre-configured session attributes

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee closed DIRMINA-335.
-------------------------------

    Resolution: Fixed

Added SessionAttributeInitializingFilter.

> Pre-configured session attributes
> ---------------------------------
>
>                 Key: DIRMINA-335
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-335
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0
>
>
> An application might want to share a certain pre-defined session attribute among multiple filters and handlers.  Setting the attribute in IoHandler.sessionCreated() won't work fine if the filters access the attribute *before* it's invoked.  Providing an IoFilter, which sets pre-defined attributes before other filters and handler executes the event, would be the solution in this case.

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