org.apache.aries.proxy.weavinghook
Interface WeavingHelper


public interface WeavingHelper

This provides helper methods to allow a ProxyWeavingController to make sensible decisions without needing to know how the ProxyManager has implemented the weaving support.


Method Summary
 boolean isSuperClassWoven(org.osgi.framework.hooks.weaving.WovenClass wovenClass)
          Tests to see if the super class of the provided WovenClass has been woven to support proxying.
 boolean isWoven(Class<?> c)
          Tests to see if the provided class has been woven for proxying.
 

Method Detail

isWoven

boolean isWoven(Class<?> c)
Tests to see if the provided class has been woven for proxying.

Parameters:
c - the class to test
Returns:
true if it is woven, false otherwise.

isSuperClassWoven

boolean isSuperClassWoven(org.osgi.framework.hooks.weaving.WovenClass wovenClass)
Tests to see if the super class of the provided WovenClass has been woven to support proxying.

Parameters:
wovenClass - the class whose parent should be tested.
Returns:
true if it is woven, false otherwise.


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.