public interface ProxyWeavingController
If multiple ProxyWeavingController are registered all will be consulted to decide whether to weave or not. As soon as one service says to weave a class then it will be woven and following services may not be consulted.
Modifier and Type | Method and Description |
---|---|
boolean |
shouldWeave(org.osgi.framework.hooks.weaving.WovenClass classToWeave,
WeavingHelper helper)
Returns true if the class should be subject to proxy weaving.
|
boolean shouldWeave(org.osgi.framework.hooks.weaving.WovenClass classToWeave, WeavingHelper helper)
classToWeave
- the class that is a candidate to be weaved.helper
- a helper calss to allow the implementation to make intelligent weaving decisions.Copyright © 2018. All rights reserved.