The InjectionPoint passed to the producer method as a result of calling Instance.get() returns null for getAnnotated(), getBean(),getMember(), and has no qualifiers (regardless of whether the declaration defined them or not). Is this the intended behavior when injecting Instances for programmatic lookup via Instance.get()?<div>
<br></div><div>I'm using Arquillian's jboss-remote-60 profile and haven't had any problems other than with Instance thus far. Here's a sample of what I'm talking about:</div><div><br></div><div>Test.java:</div>
<div>@Inject @Destination Instance<Topic> t;</div><div><br></div><div>@Test</div><div>
public void testInjection()</div><div>{</div><div> assertNotNull(t.get());</div><div>}</div><div><br></div><div><br></div><div>TopicProducer.java:</div><div>@Produces @Destination</div><div>public Topic getTopic(InjectionPoint ip) { ... }</div>
<div><br></div><div><br></div><div>-- </div><div><div>Jordan Ganoff<br>
</div></div>