public static void main(String[] args)
	{
		RealSubject realSubject = new RealSubject();
		
		InvocationHandler handler = new ProxyDynamicSubject(realSubject);
		
		Class<?> classType = handler.getClass();
		//下面代码一次性生产代理对象
		
		Subject subject = (Subject) Proxy.newProxyInstance(classType.getClassLoader(), 
				realSubject.getClass().getInterfaces(), handler);
		subject.request();
	}