org.jboss.arquillian.core.api
Interface Injector

All Known Implementing Classes:
InjectorImpl

public interface Injector

 @Inject
 private Instance<Injector> inst;

 public void listen(@Observes OtherEvent otherEvent) {
     // do something..
     inst.get().inject(new MyInjectableObject()).performSomeOperation();
     // do something..
 }
 
 

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
<T> T
inject(T target)
           
 

Method Detail

inject

<T> T inject(T target)
Parameters:
target -


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.