[izpack-devel] InstallerListener interface change for the nextrelease

Vladimir Ralev vralev at redhat.com
Sun Aug 19 20:53:54 CEST 2007


Yes SimpleInstallerListener would work great for devs who used it (not 
me :( )
I will look into adding a listener afterInstallerFinishSuccess and 
afterInstallerFailure may be.
Bartz, Klaus написа:
> Hi Vladimir,
> until now the an InstallerListener will be invoked only during
> InstallPanel works. But if you need a listener just after 
> initialization, why not...
> If afterInstallerInitialization will be implemented in 
> SimpleInstallerListener the developers which derive from it
> (e.g. I :-)) will be have no problem. There is a member 
> 	private installdata 
> and public getter and setter for it. Until now it is set
> in beforePacks if that method is not implemented in the derived
> class or the super will be called (as in my private code).
>
> If we expand, should we add more entry points like 
> beforeEnd and so on?
>
> Cheers
>
> Klaus
>
>   
>> -----Original Message-----
>> From: izpack-devel-bounces at lists.berlios.de 
>> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of 
>> Vladimir Ralev
>> Sent: Thursday, August 09, 2007 3:06 PM
>> To: izpack-devel at lists.berlios.de
>> Subject: [izpack-devel] InstallerListener interface change 
>> for the nextrelease
>>
>>
>> Hi
>>
>> I need to pass the AutomatedInstallData info after the 
>> initialization of 
>> the installer. That's why I am thinking about adding
>>    /**
>>      * Called when the installer creates the listener 
>> instance, immediately
>>      * after the install data is parsed.
>>      *
>>      * @param data
>>      */
>>     void afterInstallerInitialization(AutomatedInstallData 
>> data) throws 
>> Exception;
>>
>> to InstallerListener, but all custom listeners will need to 
>> be modified. 
>> Or is it better to create a new listener type for this method 
>> to avoid 
>> breaking the compatibility? 
>> _______________________________________________
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de 
>> https://lists.berlios.de/mailman/listinfo/izpack-devel
>>
>>     
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>   


More information about the izpack-devel mailing list