JetleafApplicationStarter class

A meta-annotation in Jetleaf used to bootstrap and configure the root application class.

When applied to a class, this annotation signals Jetleaf to:

This annotation plays a central role in defining the application entry point and enabling auto-configuration features.

Properties

Example

@JetleafApplicationStarterStarter()
class MyApplication {
  static void main() {
    // Launch the application
    Jetleaf.run(MyApplication);
  }
}
Inheritance
Annotations
  • @EnableAutoConfiguration()
  • @Target.new({TargetKind.classType})
  • @Configuration("jetleaf_application")
  • @Import([ClassType<ApplicationImportSelector>(PackageNames.MAIN), ClassType<ApplicationAvailabilityAutoConfiguration>()])
  • @ComponentScan(includeFilters: [ComponentScanFilter(FilterType.CUSTOM, typeFilter: ApplicationTypeFilter())])

Constructors

JetleafApplicationStarter()
const

Properties

annotationType → Type
Returns the runtime Type of this annotation, allowing Jetleaf's reflection system to recognize and process it.
no setteroverride
hashCode → int
Returns a hash code consistent with equality definition.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

equals(Object other) → bool
Checks whether the given object is logically equivalent to this annotation.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Returns a string representation of this annotation.
inherited

Operators

operator ==(Object other) → bool
Checks if this annotation is equal to another object.
inherited

Constants

DISABLE_AUTO_CONFIGURATION_PROPERTY → const String
Property key used to disable auto-configuration.
ENABLE_AUTO_CONFIGURATION_PROPERTY → const String
Property key used to enable auto-configuration.