code: public static <T> T createProxy(final Class<T> proxyInterface) {
  		if( proxyInterface == null ) {
  			throw new NullPointerException("proxyInterface should not be null");
  		}
  		return proxyInterface.cast(Proxy.newProxyInstance(proxyInterface.getClassLoader(),
  			new Class[] { proxyInterface }, new BeanInterfaceProxy()));
  	}
docs: Creates a proxy object which implements a given bean interface.
  
  @param proxyInterface
  the interface the the proxy will implement
  @param <T>
  the proxy implementation type
  @return the proxy implementation
  @throws NullPointerException
  if proxyInterface is null