Nucleus can create a component automatically from a properties file only if the component class is declared public and it implements a public constructor with no arguments. For example:

public class Person {
  public Person () {}

The constructor is not required to be empty. However, as shown later in this chapter, it is often a good idea to defer initialization functions until after the component starts.

loading table of contents...