Package org.apereo.cas.util.spring
Class DirectObjectProvider<T>
- java.lang.Object
-
- org.apereo.cas.util.spring.DirectObjectProvider<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>,org.springframework.beans.factory.ObjectFactory<T>,org.springframework.beans.factory.ObjectProvider<T>
public class DirectObjectProvider<T> extends java.lang.Object implements org.springframework.beans.factory.ObjectProvider<T>This isDirectObjectProvider.- Since:
- 6.5.0
-
-
Constructor Summary
Constructors Constructor Description DirectObjectProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetIfAvailable()TgetIfUnique()TgetObject()TgetObject(java.lang.Object... objects)
-
-
-
Method Detail
-
getIfAvailable
public T getIfAvailable() throws org.springframework.beans.BeansException
- Specified by:
getIfAvailablein interfaceorg.springframework.beans.factory.ObjectProvider<T>- Throws:
org.springframework.beans.BeansException
-
getIfUnique
public T getIfUnique() throws org.springframework.beans.BeansException
- Specified by:
getIfUniquein interfaceorg.springframework.beans.factory.ObjectProvider<T>- Throws:
org.springframework.beans.BeansException
-
getObject
public T getObject() throws org.springframework.beans.BeansException
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.ObjectFactory<T>- Throws:
org.springframework.beans.BeansException
-
-