[ovirt-devel] [UI plugins] replacing RestApiSessionAcquired event

Martin Mucha mmucha at redhat.com
Mon Jan 25 18:45:53 UTC 2016


Hi,

I got another bug about missing constructor:

public …(P parameters, EngineContext engineContext) {
        super(parameters, engineContext);
}

so I looked into: 
org.ovirt.engine.core.bll.QueriesCommandBase

and it seems, that sole 'problem' is with initialization of user in @PostConstruct method. It seems, that we can easily set all those fields via setters, and user initialization can be done later, for example before calling executeQueryCommand in:
org.ovirt.engine.core.bll.QueriesCommandBase#executeCommand

doing this will move us closer to CDI and avoid errors because of forgotten constructor. Is there a obstacle blocking us from doing this?

thanks,
Mar.



More information about the Devel mailing list