Good habits of initiating pages in framework – pop

I am creating test framework.

Is it good if I initiate all pages of my site in @BeforeClass in class which is extended by Testcase classes?

public class ConfigurationForBrowser {
@BeforeClass(alwaysRun = true)
public void browserSetup() throws Exception{

    this.driver = getDriver(DriverFactory.getBrowserTypeByProperty());

    registrationPage = 
    homePage = 


or is it better if in every Test case I have:

public class Test extends ConfigurationForBrowser {
RegistrationPage registrationPage;

@BeforeClass(alwaysRun = true)
public void setup() throws Exception{
    registrationPage= RegistrationPage.initElements(driver, RegistrationPage.class);



Or maybe there is some better way to get rid of BeforeClass in every testcase?