if(proxy instanceof WovenProxy) {
//Woven proxies are a bit different, they can be proxies without
//having a dispatcher, so we fake one up if we need to
WovenProxy wp = (WovenProxy) proxy;
if(wp.org_apache_aries_proxy_weaving_WovenProxy_isProxyInstance()) {
target = wp.org_apache_aries_proxy_weaving_WovenProxy_unwrap();
if(target == null) {
target = new SingleInstanceDispatcher(proxy);
}
}