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()?
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:
Test.java:
@Inject @Destination Instance<Topic> t;
@Test
public void testInjection()
{
assertNotNull(t.get());
}
TopicProducer.java:
@Produces @Destination
public Topic getTopic(InjectionPoint ip) { ... }
--