Package org.uberfire.lifecycle
Annotation Type OnStartup
-
@Inherited @Retention(RUNTIME) @Target(METHOD) public @interface OnStartup
Methods annotated with this are called by the Workbench before methods annotated with
@OnOpen. WorkbenchParts should perform any initialisation activities here (for example load their content from a persistent store).For
@WorkbenchEditor's the method should take a single argument of typeorg.drools.guvnor.vfs.Path. The Path specifies the URI for the resource to be edited. For@WorkbenchScreen's the method should have zero arguments. The method should return void.