Package org.jboss.weld.proxy
Interface WeldClientProxy.Metadata
- Enclosing interface:
- WeldClientProxy
public static interface WeldClientProxy.Metadata
An abstraction allowing access to
Bean metadata as well as the contextual instance-
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.Bean<?>getBean()RetrieveBeanmetadata for this proxy instance.Retrieve the current contextual instance associated with the current context for this client proxy.
-
Method Details
-
getBean
jakarta.enterprise.inject.spi.Bean<?> getBean()RetrieveBeanmetadata for this proxy instance.- Returns:
Beanmetadata for this proxy
-
getContextualInstance
Object getContextualInstance()Retrieve the current contextual instance associated with the current context for this client proxy. Note that in some cases the contextual instance is still an instance ofWeldConstruct.- Returns:
- the underlying contextual instance of this client proxy instance.
-