You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Vinh Nguyen (JIRA)" <ji...@apache.org> on 2007/07/13 03:32:04 UTC

[jira] Created: (MUSE-247) AbstractCapability doesn't have method to remove message handler

AbstractCapability doesn't have method to remove message handler
----------------------------------------------------------------

                 Key: MUSE-247
                 URL: https://issues.apache.org/jira/browse/MUSE-247
             Project: Muse
          Issue Type: Bug
            Reporter: Vinh Nguyen
            Assignee: Dan Jemiolo


I'm extending AbstractCapability and need to add my own message handlers.  But there are a few problems:

1) The two setMessageHandler() methods act like "add" operations, not "set".  They add entries to a map.

2) There is no removeMessageHandler() or removeAllMessageHandlers() method.  So I can't remove an entry that was added.  This makes it difficult for me to prevent Muse from adding the default ReflectionMessageHandler, which may override a custom handler that I previously set.

3) There is no getAllMessageHandler() method so that I can get/check the current list of handlers.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Updated: (MUSE-247) AbstractCapability doesn't have method to remove message handler

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

Vinh Nguyen updated MUSE-247:
-----------------------------

    Priority: Minor  (was: Major)

> AbstractCapability doesn't have method to remove message handler
> ----------------------------------------------------------------
>
>                 Key: MUSE-247
>                 URL: https://issues.apache.org/jira/browse/MUSE-247
>             Project: Muse
>          Issue Type: Bug
>            Reporter: Vinh Nguyen
>            Assignee: Dan Jemiolo
>            Priority: Minor
>
> I'm extending AbstractCapability and need to add my own message handlers.  But there are a few problems:
> 1) The two setMessageHandler() methods act like "add" operations, not "set".  They add entries to a map.
> 2) There is no removeMessageHandler() or removeAllMessageHandlers() method.  So I can't remove an entry that was added.  This makes it difficult for me to prevent Muse from adding the default ReflectionMessageHandler, which may override a custom handler that I previously set.
> 3) There is no getAllMessageHandler() method so that I can get/check the current list of handlers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org