public Object createInterceptingProxy(Bundle clientBundle,
Collection<Class<?>> classes, Object delegate, InvocationListener listener)
throws UnableToProxyException {
if (delegate instanceof WovenProxy) {
WovenProxy proxy = ((WovenProxy) delegate).
org_apache_aries_proxy_weaving_WovenProxy_createNewProxyInstance(
new SingleInstanceDispatcher(delegate), listener);
return proxy;
} else {
return createDelegatingInterceptingProxy(clientBundle, classes,