<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>So an issue came up with OWB and programmatic look up.</p>
<p><br>
</p>
<p>In OWB, when you use CDI.current() the instance you get back includes an any qualifier. &nbsp;I do a programmatic look up of a custom&nbsp;bean that is registered with just a single qualifier - @Database. &nbsp;OWB looks up an instance that has qualifiers Any and Database,
 but cannot find any because my bean doesn't declare it.</p>
<p><br>
</p>
<p>My interpretation of&nbsp;<a href="http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#builtin_qualifiers" class="OWAAutoLink" id="LPlnk704830" previewremoved="true">http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#builtin_qualifiers</a>&nbsp;is that the container (OWB)
 should be adding @Any &nbsp;to my custom bean even if I don't specify it. &nbsp;Is that the proper interpretation? &nbsp;Or am I required to add @Any to my bean?</p>
<p><br>
</p>
<p>John</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
</div>
</div>
</div>
<hr>
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this
 message, and destroy all physical and electronic copies. Thank you.
</body>
</html>