router

1)applicationContextHealth.xml
<bean id="auth" class="com.cvt.smarthome.application.healthcare.auth.AuthRouter" />
2)GetOAuthTokenRequest
关键代码
private ServiceRegister mService;
mService.dispatch(Action.OAUTH_GET_TOKEN)
3)Action
public final static String OAUTH_GET_TOKEN = "auth/get_auth_token";
4)AuthRouter
mServiceTable.put("get_auth_token", "getAuthToken");

你可能感兴趣的:(route)