Code example for ProxyFactory

0
	@Override 
	public void afterPropertiesSet() { 
		if (getServiceInterface() == null) { 
			throw new IllegalArgumentException("Property 'serviceInterface' is required"); 
		} 
		this.serviceProxy = new ProxyFactory(getServiceInterface(), this).getProxy(getBeanClassLoader()); 
	} 
 
	@Override 
	public Object getObject() throws Exception { 
		return this.serviceProxy; 
	} 
 
	@Override 
	public Class<?> getObjectType() { 
		return getServiceInterface(); 
	} 
 
	@Override 
	public boolean isSingleton() {