org.fabric3.spi.container.channel.TransformerHandlerFactory Maven / Gradle / Ivy
package org.fabric3.spi.container.channel;
import java.util.List;
import org.fabric3.api.host.Fabric3Exception;
import org.fabric3.api.model.type.contract.DataType;
/**
* Creates an {@link EventStreamHandler} that converts events from one type to another.
*/
public interface TransformerHandlerFactory {
/**
* Creates the handler for converting an event type.
*
* @param source the source type
* @param target the target type
* @param eventTypes the vent types
* @param loader the classloader or loading target types
* @return the handler
* @throws Fabric3Exception if there is an exception creating the handler
*/
EventStreamHandler createHandler(DataType source, DataType target, List> eventTypes, ClassLoader loader) throws Fabric3Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy