com.foxinmy.weixin4j.mp.component
Class WeixinComponentTokenCreator

java.lang.Object
  extended by com.foxinmy.weixin4j.token.TokenCreator
      extended by com.foxinmy.weixin4j.mp.component.WeixinComponentTokenCreator
All Implemented Interfaces:
CacheCreator<Token>

public class WeixinComponentTokenCreator
extends TokenCreator

微信开放平台应用组件凭证创建

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)

Field Summary
 
Fields inherited from class com.foxinmy.weixin4j.token.TokenCreator
CACHEKEY_PREFIX
 
Constructor Summary
WeixinComponentTokenCreator(TicketManager ticketManager)
           
 
Method Summary
 Token create()
           
 String key0()
           
 
Methods inherited from class com.foxinmy.weixin4j.token.TokenCreator
key
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeixinComponentTokenCreator

public WeixinComponentTokenCreator(TicketManager ticketManager)
Parameters:
ticketManager - 组件ticket存取
Method Detail

key0

public String key0()
Specified by:
key0 in class TokenCreator

create

public Token create()
             throws WeixinException
Throws:
WeixinException


Copyright © 2014–2017. All rights reserved.