-
Sep 15th, 2008, 08:56 AM
#1
wildcards with ObjectName
Hi,
I'm trying to set an ObjectName with wildcard *.
In javadoc 1.5 I see the following exapmles:
*:type=Foo,name=Bar to match names in any domain whose exact set of keys is type=Foo,name=Bar.
d:type=Foo,name=Bar,* to match names in the domain d that have the keys type=Foo,name=Bar plus zero or more other keys.
*:type=Foo,name=Bar,* to match names in any domain that has the keys type=Foo,name=Bar plus zero or more other keys.
d:type=F?o,name=Bar will match e.g. d:type=Foo,name=Bar and d:type=Fro,name=Bar.
d:type=F*o,name=Bar will match e.g. d:type=Fo,name=Bar and d:type=Frodo,name=Bar.
d:type=Foo,name="B*" will match e.g. d:type=Foo,name="Bling". Wildcards are recognized even inside quotes, and like other special characters can be escaped with \.
but wen I try to do this on my own: jboss.j2ee:jndiName=ValidatorMDB*,service=EJB
I receive the following ecxeption: javax.ement.MalformedObjectNameException: Invalid character '*' in value part of property
does someone knows what am I doing wrong
br
Vassil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules