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 Object
get()
Object
get(javax.enterprise.context.spi.CreationalContext<Object> creationalContext)
static Object
set(Object delegate)
Set the current delegate for a non-null parameter, remove the threadlocal for null parameter.static void
unset()
-
-
-
Method Detail
-
get
public Object get(javax.enterprise.context.spi.CreationalContext<Object> creationalContext)
- Specified by:
get
in 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()
-
-