org.mule.security.oauth.callback
Class DefaultHttpCallbackFactory

java.lang.Object
  extended by org.mule.security.oauth.callback.DefaultHttpCallbackFactory
All Implemented Interfaces:
HttpCallbackFactory

public class DefaultHttpCallbackFactory
extends Object
implements HttpCallbackFactory


Constructor Summary
DefaultHttpCallbackFactory()
           
 
Method Summary
 HttpCallback createCallback(HttpCallbackAdapter adapter, String authCodeRegex, FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor, MessageProcessor listener, MuleContext muleContext, FlowConstruct flowConstruct)
          returns a new callback that has not been started
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHttpCallbackFactory

public DefaultHttpCallbackFactory()
Method Detail

createCallback

public HttpCallback createCallback(HttpCallbackAdapter adapter,
                                   String authCodeRegex,
                                   FetchAccessTokenMessageProcessor fetchAccessTokenMessageProcessor,
                                   MessageProcessor listener,
                                   MuleContext muleContext,
                                   FlowConstruct flowConstruct)
                            throws MuleException
Description copied from interface: HttpCallbackFactory
returns a new callback that has not been started

Specified by:
createCallback in interface HttpCallbackFactory
Parameters:
adapter - adapter holding the callback configuration
authCodeRegex - uncompiled regular expression to extract the authorization code
fetchAccessTokenMessageProcessor - an instance of FetchAccessTokenMessageProcessor
listener - a message processor to invoke when the callback has been received
muleContext - a MuleContext
flowConstruct - the construct of the flow where this callback lives
Returns:
Throws:
MuleException


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