Code example for ProxyFactory

0
	public void afterPropertiesSet() throws NamingException { 
		super.afterPropertiesSet(); 
		if (getServiceInterface() == null) { 
			throw new IllegalArgumentException("Property 'serviceInterface' is required"); 
		} 
		this.serviceProxy = new ProxyFactory(getServiceInterface(), this).getProxy(this.beanClassLoader); 
	} 
 
 
	@Override 
	public Object getObject() { 
		return this.serviceProxy; 
	} 
 
	@Override 
	public Class<?> getObjectType() { 
		return getServiceInterface(); 
	} 
 
	@Override 
Connect your IDE to all the code out there  Get Codota for Java