Package io.quarkus.arc.impl
Class DecoratorDelegateProvider
- java.lang.Object
-
- io.quarkus.arc.impl.DecoratorDelegateProvider
-
- All Implemented Interfaces:
InjectableReferenceProvider<Object>
public class DecoratorDelegateProvider extends Object implements InjectableReferenceProvider<Object>
-
-
Constructor Summary
Constructors Constructor Description DecoratorDelegateProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectget()Objectget(jakarta.enterprise.context.spi.CreationalContext<Object> creationalContext)static Objectset(Object delegate)Set the current delegate for a non-null parameter, remove the threadlocal for null parameter.static voidunset()
-
-
-
Method Detail
-
get
public Object get(jakarta.enterprise.context.spi.CreationalContext<Object> creationalContext)
- Specified by:
getin interfaceInjectableReferenceProvider<Object>- Returns:
- a contextual reference
-
set
public static Object set(Object delegate)
Set the current delegate for a non-null parameter, remove the threadlocal for null parameter.- Parameters:
delegate-- Returns:
- the previous delegate or
null
-
unset
public static void unset()
-
get
public static Object get()
-
-