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 Type
    Method
    Description
    jakarta.enterprise.inject.spi.Bean<?>
    Retrieve Bean metadata 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()
      Retrieve Bean metadata for this proxy instance.
      Returns:
      Bean metadata 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 of WeldConstruct.
      Returns:
      the underlying contextual instance of this client proxy instance.