private static class CdiJohnzonAdapterFactory.CdiInstance<T> extends java.lang.Object implements JohnzonAdapterFactory.Instance<T>
Modifier and Type | Field and Description |
---|---|
private javax.enterprise.context.spi.CreationalContext<java.lang.Object> |
context |
private T |
value |
Modifier | Constructor and Description |
---|---|
private |
CdiInstance(T instance,
javax.enterprise.context.spi.CreationalContext<java.lang.Object> creationalContext) |
Modifier and Type | Method and Description |
---|---|
T |
getValue() |
void |
release() |
private final T value
private final javax.enterprise.context.spi.CreationalContext<java.lang.Object> context
private CdiInstance(T instance, javax.enterprise.context.spi.CreationalContext<java.lang.Object> creationalContext)
public T getValue()
getValue
in interface JohnzonAdapterFactory.Instance<T>
public void release()
release
in interface JohnzonAdapterFactory.Instance<T>
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.