[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Unexpected canonicalization of string
alesj
do-not-reply at jboss.com
Sun Aug 10 06:29:01 EDT 2008
"alesj" wrote :
| Weird. :-)
|
Actually not that weird. :-)
It's the hack we have in order to handle JMX/MBean names as strings,
w/o having to provide canonicalized order to match exact ObjectName.
I've added MockServiceBindingTestCase, which exposes this issue:
- http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/kernel/src/tests/org/jboss/test/kernel/deployment/test/MockServiceBindingTestCase.java
But I guess you'll have to add similar behavior to ServiceMetaDataParser.
Since if some string looks like ObjectName,
it's eventually gonna be used as ObjectName,
hence canonical form is in order - making equal work on ObjectName 'string' representation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169758#4169758
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169758
More information about the jboss-dev-forums
mailing list