# setApplicationClass abstract method

void setApplicationClass(

1. Class<Object> applicationClass

)

Sets the application class in this context.

This is the application class that was registered in the bootstrap context. Mostly, it is the class used to bootstrap the application.

Example:

    final bootstrapContext = ConfigurableBootstrapContext();
    bootstrapContext.setApplicationClass(Class.of(MyApplication()));
    final applicationClass = bootstrapContext.getApplicationClass();

## Implementation

    void setApplicationClass(Class<Object> applicationClass);