Ok, any particular thoughts on how to do that? I was thinking of adding an empty (marker) interface to API which all our proxies would implement. Therefore anyone having a dependency on API could do a simple check such as object instanceof WeldProxyMarkerInterface. Furthermore, we could also provide a simple interface with boolean method for this check. |