You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

@Initialize #17046/HEAD / v10
Tags:  not added yet

@Initialize

Within the @Initialize method the internal state of a component is initialized. For example opening a file for reading, or a creating a data base connection would be something that should be done within @Initialize.

FORTRAN modelers using OMS often will forego using this annotation because this step happens with the model simulation file containing DSL, and OMS initializes behind the scenes.

Synopsis

@Initialize

Type

Execution annotation

Scope

Method

Example

Java example:

public class Component {
    @Initialize
    public void start() {
    // initialization code
    }
}