Nucleus can create a component automatically from a properties file 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.
If the constructor for the component class requires arguments, you will need to supply additional information. See Parameterized Constructors.