The server or the client which made the requested operation can be terminated by defining the finalizer handler.
Following is the process below.
- Open LPT Project in package explorer-->Go to definitions --> finalizerHandlers.lcfh
Customization is Finalize Handler Definitions screen opens. right click on the screen > and press Add
Fill up the necessary fields in Customization is Finalize Handler Definitions as shown in the
picture on right.Afterwards It contains the class definition that occurred made by finalize method, we perform the requested operation .
FinalizerHandler
package com.LPT.customization;
import com.lbs.platform.interfaces.ICustomizationFinalizer;
import com.lbs.platform.interfaces.IApplicationContext;
public class CustomFinalizer implements ICustomizationFinalizer
{
public void finalize(IApplicationContext context, String custGUID) {
System.out.println("Finalizer..");
}
}
Copyright © 2018 Logo Yazılım