@BrixPresenter – generate presenter impl and lifecycle wiring.@UiView – generate a _UiView subclass and DI bindings.@BrixComponent – generate component initializer for router registration.@BrixRoute – map presenter to a route; supports custom routing provider.@BrixSlot / @RegisterSlots – declare and supply slots.@ListenFor, @PathParameter, @QueryParameter, @FragmentParameter – wire events and routing state.@OnReveal, @OnBeforeReveal, @OnActivated, @OnDeactivated, @OnStateChanged, @OnRemove.@UiHandler on presenter methods, @Handlers on view fields.@BrixTask for startup tasks, @Global for shared core beans. @BrixPresenter
public class AdminPresenter extends Presenter<AdminView> {
@Override
public Set<String> getRoles() {
return Set.of("admin");
}
@Override
public Authorizer getAuthorizer() {
return RolesAllowedAuthorizer.INSTANCE;
}
}
META-INF/services for router registration.