|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Application
An annotation specifying that the containing class is an application which holds the basic functioning of the module.
An application is a special type ofAutoBindSingleton which requires a
set of Component to be initialized before it. Inject or
AutoBind. In such a case, you can just mark your class as a
AutoBindSingleton PropertyNames.DISABLE_APPLICATION_DISCOVERY_PROP_NAME available to archaius to true Application for whatever reasons, one can choose to explicitly
tell karyon about the application class by specifying the fully qualified classname as a property with name
PropertyNames.EXPLICIT_APPLICATION_CLASS_PROP_NAME
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||