public class HiCloudWebServiceClient
extends java.lang.Object
implements net.sf.cglib.proxy.MethodInterceptor
Constructor and Description |
---|
HiCloudWebServiceClient(java.lang.String endPoint,
HwsCredential hwsCredential) |
Modifier and Type | Method and Description |
---|---|
HiCloudConfiguration |
getConfiguration() |
java.lang.Object |
intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
<T extends HiCloudWebService> |
newServiceProxy(java.lang.Class<T> service)
建立Service Proxy
|
void |
setConfiguration(HiCloudConfiguration configuration) |
public HiCloudWebServiceClient(java.lang.String endPoint, HwsCredential hwsCredential)
public <T extends HiCloudWebService> T newServiceProxy(java.lang.Class<T> service)
service
- 代理的服務public java.lang.Object intercept(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws java.lang.Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
java.lang.Throwable
public HiCloudConfiguration getConfiguration()
public void setConfiguration(HiCloudConfiguration configuration)