Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

@Retention(CLASS) @Target({METHOD})

public @interface PostConstruct

Called once the bean is constructed and every member is injected.

The method takes no arguments. The generated entry point calls it directly, in dependency order, so a bean’s dependencies have already run theirs.