Though about this as well, but is there a real use case for this?
For a client proxy you might want to unwrap the current contextual instance . So maybe we should define two interfaces, something like WeldClientProxy extends WeldConstruct?
Hmm, as means to obtain metadata? Isn't it easier to just use BeanManager.getBeans() ?
For this you would need a correct bean type which is not always that easy to obtain. |