org.ikasan.framework.plugins
Class PayloadProviderPlugin

java.lang.Object
  extended by org.ikasan.framework.plugins.PayloadProviderPlugin
All Implemented Interfaces:
EventInvocable, Plugin

public class PayloadProviderPlugin
extends Object
implements EventInvocable

Plugin that retrieves any available Payloads from a PayloadProvider and sets these on the Event, after setting the source system on each, if known

Author:
Ikasan Development Team

Constructor Summary
PayloadProviderPlugin(PayloadProvider payloadProvider)
          Constructor
 
Method Summary
 void invoke(Event event)
          Invoke this plugin with an Event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadProviderPlugin

public PayloadProviderPlugin(PayloadProvider payloadProvider)
Constructor

Parameters:
payloadProvider - The payload provider to use
Method Detail

invoke

public void invoke(Event event)
            throws PluginInvocationException
Description copied from interface: EventInvocable
Invoke this plugin with an Event

Specified by:
invoke in interface EventInvocable
Parameters:
event - The event to pass to the plugin
Throws:
PluginInvocationException - Exception if the plugin could not be invoked


Copyright © 2007-2012 Ikasan. All Rights Reserved.