org.mule.security.oauth.processor
Class BaseOAuth2UnauthorizeMessageProcessor<T extends OAuth2Manager<OAuth2Adapter>>

java.lang.Object
  extended by org.mule.devkit.processor.ExpressionEvaluatorSupport
      extended by org.mule.devkit.processor.DevkitBasedMessageProcessor
          extended by org.mule.security.oauth.processor.BaseOAuth2UnauthorizeMessageProcessor<T>
All Implemented Interfaces:
FlowConstructAware, MuleContextAware, Disposable, Initialisable, Startable, Stoppable, MessageProcessor

public abstract class BaseOAuth2UnauthorizeMessageProcessor<T extends OAuth2Manager<OAuth2Adapter>>
extends DevkitBasedMessageProcessor
implements MessageProcessor


Field Summary
 
Fields inherited from class org.mule.devkit.processor.DevkitBasedMessageProcessor
flowConstruct, moduleObject, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
BaseOAuth2UnauthorizeMessageProcessor()
           
 
Method Summary
protected  MuleEvent doProcess(MuleEvent event)
          Unauthorize the connector
protected  OAuth2Manager<OAuth2Adapter> getOAuthManager()
           
protected abstract  Class<T> getOAuthManagerClass()
           
 
Methods inherited from class org.mule.devkit.processor.DevkitBasedMessageProcessor
dispose, findOrCreate, getAccessTokenId, getFlowConstruct, getMuleContext, initialise, overwritePayload, process, setAccessTokenId, setFlowConstruct, setModuleObject, setMuleContext, start, stop
 
Methods inherited from class org.mule.devkit.processor.ExpressionEvaluatorSupport
computeClassHierarchy, evaluate, evaluateAndTransform, evaluateAndTransform, getAccessTokenId, isAssignableFrom, isList, isListClass, isMap, isMapClass, transform, transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.processor.MessageProcessor
process
 

Constructor Detail

BaseOAuth2UnauthorizeMessageProcessor

public BaseOAuth2UnauthorizeMessageProcessor()
Method Detail

getOAuthManagerClass

protected abstract Class<T> getOAuthManagerClass()

doProcess

protected final MuleEvent doProcess(MuleEvent event)
                             throws Exception
Unauthorize the connector

Specified by:
doProcess in class DevkitBasedMessageProcessor
Parameters:
event - MuleEvent to be processed
Returns:
a mule event
Throws:
Exception

getOAuthManager

protected OAuth2Manager<OAuth2Adapter> getOAuthManager()


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.