Package com.oorian

Class PageRegistry

java.lang.Object
com.oorian.PageRegistry

public final class PageRegistry extends Object
Central registry for page information.

Provides access to PageInfo objects and framework constants without depending on servlet-specific classes. The thin library (Jakarta/J2EE) populates the registry during application startup.

  • Field Details

  • Method Details

    • register

      public static void register(Map<String,PageInfo> map)
      Registers the page info map. Called by the Application class during startup.
      Parameters:
      map - The map of class names to PageInfo objects.
    • getPageInfo

      public static PageInfo getPageInfo(Class pageClass)
      Returns the PageInfo for the specified page class.
      Parameters:
      pageClass - The page class annotated with @Page.
      Returns:
      The PageInfo, or null if not found.