public void init() {
Assert.notNull(reference, "reference cannot be null");
ServiceEndpointTargetSource targetSource = new StaticServiceRegistryTargetSource(reference);
ProxyFactory proxyFactory = new ProxyFactory();
if (!ArrayUtils.isNullOrEmpty(proxyTypes)) {
ProxyFactorySourceUtils.addInterfaces(proxyFactory, proxyTypes);
} else {