public class InvalidateOauthContextMessageProcessor extends Object implements MessageProcessor, Initialisable, MuleContextAware
PHASE_NAME
Constructor and Description |
---|
InvalidateOauthContextMessageProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
initialise()
Method used to perform any initialisation work.
|
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor.
|
void |
setConfig(TokenManagerConfig config) |
void |
setMuleContext(MuleContext context) |
void |
setResourceOwnerId(String resourceOwnerId) |
public InvalidateOauthContextMessageProcessor()
public MuleEvent process(MuleEvent event) throws MuleException
MessageProcessor
process
in interface MessageProcessor
event
- MuleEvent to be processedMuleException
public void setConfig(TokenManagerConfig config)
public void setResourceOwnerId(String resourceOwnerId)
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.