{
return getComponentObject(((SimpleService) flowConstruct).getComponent());
}
else if (flowConstruct instanceof AbstractPipeline)
{
AbstractPipeline flow = (AbstractPipeline) flowConstruct;
// Retrieve the first component
for (MessageProcessor processor : flow.getMessageProcessors())
{
if (processor instanceof Component)
{
return getComponentObject(((Component) processor));
}