public interface Imported<T> extends Iterable<T>
Exported services.| Modifier and Type | Method and Description |
|---|---|
T |
get()
Get a fully constructed instance of the underlying type.
|
boolean |
isAmbiguous()
Returns
true if multiple instances of the requested type can be produced. |
boolean |
isUnsatisfied()
Returns
true if no instances of the requested type can be produced. |
void |
release(T instance)
Signal that the given instance may be released.
|
T |
selectExact(Class<T> type)
Get a fully constructed instance of the exact requested type.
|
T get()
void release(T instance)
T selectExact(Class<T> type)
boolean isUnsatisfied()
true if no instances of the requested type can be produced.boolean isAmbiguous()
true if multiple instances of the requested type can be produced.Copyright © 2014 JBoss by Red Hat. All rights reserved.