-
Method Summary
<O> O
boolean
Indicates if the object by auto-wiring is available.
<O> void
-
Method Details
-
isObjectAvailable
boolean isObjectAvailable(String qualifier,
Class<?> objectType)
Indicates if the object by auto-wiring is available.
- Parameters:
qualifier - Qualifier. May be null.
objectType - Required object type.
- Returns:
true if the object is available.
-
load
- Type Parameters:
O - Object type.
- Parameters:
qualifier - Qualifier. May be null.
objectType - Required object type.
user - ObjectUser to receive the loaded object (or
possible failure).
- Throws:
UnknownObjectException - If unknown bound object name.
-
getObject
- Type Parameters:
O - Object type.
- Parameters:
qualifier - Qualifier. May be null.
objectType - Required object type.
timeoutInMilliseconds - Time out in milliseconds to wait for the
ManagedObject creation.
- Returns:
- Object.
- Throws:
UnknownObjectException - If unknown bound object name.
Throwable - If failure in obtaining the bound object.