org.jboss.arquillian.core.api
Interface Instance<T>

All Known Subinterfaces:
InstanceProducer<T>
All Known Implementing Classes:
InstanceImpl

public interface Instance<T>

 @Inject
 private Instance<MyObject> myObjectInst;

 public void listen(@Observes OtherEvent otherEvent) {
     // do something..
     myObjectInst.get().performSomeOperation();
     // do something..
 }
 
 

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 T get()
           
 

Method Detail

get

T get()


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