Rename WXAProxy to WXAFacade.
This commit is contained in:
parent
8ccee90bc7
commit
e082b89237
@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.wxa.api.TemplateMessageApi;
|
|||||||
*
|
*
|
||||||
* @since 1.8
|
* @since 1.8
|
||||||
*/
|
*/
|
||||||
public class WXAProxy {
|
public class WXAFacade {
|
||||||
|
|
||||||
private final LoginApi loginApi;
|
private final LoginApi loginApi;
|
||||||
private final QrCodeApi qrCodeApi;
|
private final QrCodeApi qrCodeApi;
|
||||||
@ -25,11 +25,11 @@ public class WXAProxy {
|
|||||||
private final TemplateMessageApi templateMessageApi;
|
private final TemplateMessageApi templateMessageApi;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs {@link WXAProxy} using {@link FileCacheStorager}.
|
* Constructs {@link WXAFacade} using {@link FileCacheStorager}.
|
||||||
*
|
*
|
||||||
* @param weixinAccount the {@link WeixinAccount}.
|
* @param weixinAccount the {@link WeixinAccount}.
|
||||||
*/
|
*/
|
||||||
public WXAProxy(
|
public WXAFacade(
|
||||||
WeixinAccount weixinAccount
|
WeixinAccount weixinAccount
|
||||||
) {
|
) {
|
||||||
this(
|
this(
|
||||||
@ -39,12 +39,12 @@ public class WXAProxy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs {@link WXAProxy} using specified {@link CacheStorager}.
|
* Constructs {@link WXAFacade} using specified {@link CacheStorager}.
|
||||||
*
|
*
|
||||||
* @param weixinAccount the {@link WeixinAccount}.
|
* @param weixinAccount the {@link WeixinAccount}.
|
||||||
* @param cacheStorager the {@link CacheStorager}.
|
* @param cacheStorager the {@link CacheStorager}.
|
||||||
*/
|
*/
|
||||||
public WXAProxy(
|
public WXAFacade(
|
||||||
WeixinAccount weixinAccount,
|
WeixinAccount weixinAccount,
|
||||||
CacheStorager<Token> cacheStorager
|
CacheStorager<Token> cacheStorager
|
||||||
) {
|
) {
|
||||||
@ -55,7 +55,7 @@ public class WXAProxy {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private WXAProxy(
|
private WXAFacade(
|
||||||
WeixinAccount weixinAccount,
|
WeixinAccount weixinAccount,
|
||||||
TokenCreator tokenCreator,
|
TokenCreator tokenCreator,
|
||||||
CacheStorager<Token> cacheStorager
|
CacheStorager<Token> cacheStorager
|
||||||
Loading…
x
Reference in New Issue
Block a user