org.mule.devkit.generation.oauth.process
Class RefreshTokenProcessInterceptorGenerator

java.lang.Object
  extended by org.mule.devkit.generation.oauth.AbstractOAuthAdapterGenerator
      extended by org.mule.devkit.generation.oauth.process.RefreshTokenProcessInterceptorGenerator
All Implemented Interfaces:
Generator, ModuleGenerator

public class RefreshTokenProcessInterceptorGenerator
extends AbstractOAuthAdapterGenerator
implements ModuleGenerator


Field Summary
 
Fields inherited from class org.mule.devkit.generation.oauth.AbstractOAuthAdapterGenerator
ACCESS_CODE_PATTERN_FIELD_NAME, AUTH_CODE_PATTERN_FIELD_NAME, AUTHORIZE_METHOD_NAME, CONSUMER_FIELD_NAME, context, ENCODING, EXPIRATION_FIELD_NAME, EXPIRATION_TIME_PATTERN_FIELD_NAME, FETCH_ACCESS_TOKEN_METHOD_NAME, GRANT_TYPE, HAS_TOKEN_EXPIRED_METHOD_NAME, MULE_CONTEXT_FIELD_NAME, OAUTH_RESTORE_ACCESS_TOKEN_CALLBACK_FIELD_NAME, OAUTH_SAVE_ACCESS_TOKEN_CALLBACK_FIELD_NAME, OAUTH_VERIFIER_FIELD_NAME, ON_NO_TOKEN_POLICY_FIELD_NAME, REFRESH_TOKEN_FIELD_NAME, REFRESH_TOKEN_PATTERN_FIELD_NAME, REQUEST_TOKEN_FIELD_NAME, REQUEST_TOKEN_SECRET_FIELD_NAME, RESET_METHOD_NAME, VERIFIER_FIELD_NAME
 
Constructor Summary
RefreshTokenProcessInterceptorGenerator()
           
 
Method Summary
 List<Product> consumes()
           
 void generate(org.mule.devkit.model.module.Module module)
           
 List<Product> produces()
           
 boolean shouldGenerate(org.mule.devkit.model.module.Module module)
           
 
Methods inherited from class org.mule.devkit.generation.oauth.AbstractOAuthAdapterGenerator
authorizationCodeField, ctx, generateAccessTokenUrlField, generateAuthorizationUrlField, generateCatchAndReThrow, generateCatchAndReThrow, generateConstructor, generateCreateConsumerMethod, generateFieldForBoolean, generateFieldForMessageProcessor, generateFieldForString, generateHasBeenAuthorizedMethod, generateInitialiseMethod, generateLoggerField, generateOAuth1AuthorizeMethod, generateOAuth2AuthorizeMethod, generateOnNoTokenPolicyField, generateProvider, generateRequestTokenUrlField, getOAuthAdapterClass, getterMethodForFieldAnnotatedWith, muleContextField, ref, ref, ref, restoreAccessTokenCallbackField, saveAccessTokenCallbackField, setCtx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.devkit.generation.api.Generator
ctx, setCtx
 

Constructor Detail

RefreshTokenProcessInterceptorGenerator

public RefreshTokenProcessInterceptorGenerator()
Method Detail

consumes

public List<Product> consumes()
Specified by:
consumes in interface Generator
Overrides:
consumes in class AbstractOAuthAdapterGenerator

produces

public List<Product> produces()
Specified by:
produces in interface Generator
Overrides:
produces in class AbstractOAuthAdapterGenerator

shouldGenerate

public boolean shouldGenerate(org.mule.devkit.model.module.Module module)
Specified by:
shouldGenerate in interface ModuleGenerator

generate

public void generate(org.mule.devkit.model.module.Module module)
              throws GenerationException
Specified by:
generate in interface ModuleGenerator
Throws:
GenerationException


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.