component = (IComponent) componentTmp;
} else if ( componentTmp instanceof IAction ) {
component = new ActionDelegate( componentTmp );
} else {
// Try this out...
PojoComponent pc = new PojoComponent();
pc.setPojo( componentTmp );
component = pc;
}
component.setInstanceId( currentInstanceId );
component.setActionName( getActionName() );