org.ikasan.framework.plugins
Class PayloadPublisherPlugin

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

public class PayloadPublisherPlugin
extends Object
implements PayloadInvocable

Simple wrapper for PayloadPublisher to allow it to work within the plugin framework

Author:
Ikasan Development Team

Constructor Summary
PayloadPublisherPlugin(PayloadPublisher payloadPublisher)
          Constructor
 
Method Summary
 void invoke(Payload payload)
          Invoke this plugin with a Payload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadPublisherPlugin

public PayloadPublisherPlugin(PayloadPublisher payloadPublisher)
Constructor

Parameters:
payloadPublisher - The payload publisher to use
Method Detail

invoke

public void invoke(Payload payload)
            throws PluginInvocationException
Description copied from interface: PayloadInvocable
Invoke this plugin with a Payload

Specified by:
invoke in interface PayloadInvocable
Parameters:
payload - The payload to work with
Throws:
PluginInvocationException - Exception if we could not invoke the plugin


Copyright © 2007-2012 Ikasan. All Rights Reserved.