All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.foxinmy.weixin4j.token.TokenCreator Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
package com.foxinmy.weixin4j.token;

import com.foxinmy.weixin4j.exception.WeixinException;
import com.foxinmy.weixin4j.model.Token;

/**
 * TOKEN创建者
 * 
 * @className TokenCreator
 * @author jy
 * @date 2015年1月10日
 * @since JDK 1.6
 * @see
 */
public interface TokenCreator {
	/**
	 * 返回缓存KEY的名称
	 * 
	 * @return
	 */
	public String getCacheKey();

	/**
	 * 创建token
	 * 
	 * @return
	 * @throws WeixinException
	 */
	public Token createToken() throws WeixinException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy