Package org.jboss.weld.util
Class ForwardingContext
java.lang.Object
org.jboss.weld.util.ForwardingContext
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Context
public abstract class ForwardingContext
extends Object
implements jakarta.enterprise.context.spi.Context
Forwarding implementation of
Context- Author:
- Jozef Hartinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract jakarta.enterprise.context.spi.Contextdelegate()boolean<T> Tget(jakarta.enterprise.context.spi.Contextual<T> contextual) <T> Tget(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) Class<? extends Annotation>getScope()inthashCode()booleanisActive()toString()static jakarta.enterprise.context.spi.Contextunwrap(jakarta.enterprise.context.spi.Context context)
-
Constructor Details
-
ForwardingContext
public ForwardingContext()
-
-
Method Details
-
delegate
protected abstract jakarta.enterprise.context.spi.Context delegate() -
getScope
- Specified by:
getScopein interfacejakarta.enterprise.context.spi.Context
-
get
public <T> T get(jakarta.enterprise.context.spi.Contextual<T> contextual, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) - Specified by:
getin interfacejakarta.enterprise.context.spi.Context
-
get
public <T> T get(jakarta.enterprise.context.spi.Contextual<T> contextual) - Specified by:
getin interfacejakarta.enterprise.context.spi.Context
-
isActive
public boolean isActive()- Specified by:
isActivein interfacejakarta.enterprise.context.spi.Context
-
hashCode
public int hashCode() -
equals
-
toString
-
unwrap
public static jakarta.enterprise.context.spi.Context unwrap(jakarta.enterprise.context.spi.Context context)
-