package com.savvion.sbm.adapters.sample;
import com.savvion.sbm.adapters.framework.*; import java.util.*; public class SampleAdapter extends ManagedAdapter { public void execute() throws Exception { // Get the input data Hashtable inputs = (Hashtable)input; // Log a message log(LOG_TRACE,"Got input data..."); // Prepare the output hashtable Hashtable outputHashtable = new Hashtable(); ... do some processing and populate outputHashtable ... // Set the adapter output output = outputHashtable; } } |