You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2005/12/01 07:01:30 UTC
[jira] Resolved: (DIRMINA-116) Get the Service from which a connection is accepted
[ http://issues.apache.org/jira/browse/DIRMINA-116?page=all ]
Trustin Lee resolved DIRMINA-116:
---------------------------------
Resolution: Fixed
>From MINA 0.9, you can get the Service instance associated with the session like this:
public void messageReceived(IoSession session, Object message) throws Exception
{
...
Service service = (Service) session.getAttribute( ServiceRegistry.SERVICE );
...
}
This feature will not be included in 0.8 stream. Please review the fix and close this issue.
> Get the Service from which a connection is accepted
> ---------------------------------------------------
>
> Key: DIRMINA-116
> URL: http://issues.apache.org/jira/browse/DIRMINA-116
> Project: Directory MINA
> Type: Improvement
> Versions: 0.8
> Reporter: Paolo Perrucci
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 0.9
>
> When a new connection is accepted may be usefull to know the related Service.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira