This is just basic Java knowledge, but anyway ..public class SomeClass {
static {
// static initialization block, this is executed only once per runtime, before the first instantiation.
}
{
// Initialization block, this is executed before the constructor on every instantiation.
}
public SomeClass() {
// the constructor, this is executed on every instantiation.
}
}