Class Routes
java.lang.Object
com.codename1.router.generated.Routes
Stub overwritten by the Codename One Maven plugin's route processor when an
application declares one or more com.codename1.annotations.Route targets.
com.codename1.ui.Display calls #bootstrap once during startup. With this
stub on the classpath the call is a no-op and the application sees no
deep-link routing -- the framework keeps working exactly as before. When
the maven plugin runs against a project that declares routes, the plugin
emits a new Routes.class in the project's target directory; that file
shadows this stub at runtime and its real bootstrap installs the
generated RouteDispatcher.
Application code should not call this class directly.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidInvoked once by the framework during initialization.
-
Method Details
-
bootstrap
public static void bootstrap()Invoked once by the framework during initialization. The stub does nothing; the generated replacement installs the project's route dispatcher.
-