Support for Type aware mediators

added getInpuType and getOutputType to implement Type Aware mediator concept