org.mule.devkit.generation.oauth.processors
Class ExtractAuthorizationCodeMessageProcessorGenerator

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

public class ExtractAuthorizationCodeMessageProcessorGenerator
extends AbstractOAuthAdapterGenerator


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
ExtractAuthorizationCodeMessageProcessorGenerator()
           
 
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
 

Constructor Detail

ExtractAuthorizationCodeMessageProcessorGenerator

public ExtractAuthorizationCodeMessageProcessorGenerator()
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)

generate

public void generate(org.mule.devkit.model.module.Module module)
              throws GenerationException
Throws:
GenerationException


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