org.specrunner.pipeline.core
Class ChannelFactoryImpl

java.lang.Object
  extended by org.specrunner.pipeline.core.ChannelFactoryImpl
All Implemented Interfaces:
IChannelFactory

public class ChannelFactoryImpl
extends Object
implements IChannelFactory

Default implementation of a channel factory.

Author:
Thiago Santos

Constructor Summary
ChannelFactoryImpl()
           
 
Method Summary
 IChannel newChannel()
          Creates a new channel.
 IChannel newChannel(Map<String,Object> load)
          Creates a new channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelFactoryImpl

public ChannelFactoryImpl()
Method Detail

newChannel

public IChannel newChannel()
Description copied from interface: IChannelFactory
Creates a new channel.

Specified by:
newChannel in interface IChannelFactory
Returns:
A new channel.

newChannel

public IChannel newChannel(Map<String,Object> load)
Description copied from interface: IChannelFactory
Creates a new channel.

Specified by:
newChannel in interface IChannelFactory
Parameters:
load - The channel initial load.
Returns:
A new channel.


Copyright © 2014. All rights reserved.