<extension> element

Appears in: <application> and <library-specification>

Defines an extension, a JavaBean that is instantiated as needed to provide a global service to the application.

Figure B.14. <extension> Attributes

NameTypeRequired ?Default ValueDescription
namestringyes A name for the extension, which can (and should) look like a qualified class name, but may also include the dash character.
classstringyes The Java class to instantiate. The class must have a zero-arguments constructor.
immediateyes|nononoIf yes, the extension is instantiated when the specification is read. If no, then the extension is not created until first needed.

Figure B.15. <component-specification> Elements


  <property> *, <configure> *