org.ikasan.framework.component.endpoint
Class PluginEndpointAdapter

java.lang.Object
  extended by org.ikasan.framework.component.endpoint.PluginEndpointAdapter
All Implemented Interfaces:
Endpoint, FlowComponent

public class PluginEndpointAdapter
extends Object
implements Endpoint

Adaptor class for using Plugin's within the Endpoint framework

Author:
Ikasan Development Team

Constructor Summary
PluginEndpointAdapter(Plugin plugin)
          Constructor
 
Method Summary
 void onEvent(Event event)
          Delivers the Event to an external system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginEndpointAdapter

public PluginEndpointAdapter(Plugin plugin)
Constructor

Parameters:
plugin - The plugin to wrap
Method Detail

onEvent

public void onEvent(Event event)
             throws EndpointException
Description copied from interface: Endpoint
Delivers the Event to an external system

Specified by:
onEvent in interface Endpoint
Parameters:
event - The event we're delivering
Throws:
EndpointException - Exception if delivery fails


Copyright © 2007-2012 Ikasan. All Rights Reserved.