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
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
name | string | yes | A name for the extension, which can (and should) look like a qualified class name, but may also include the dash character. | |
class | string | yes | The Java class to instantiate. The class must have a zero-arguments constructor. | |
immediate | yes|no | no | no | If yes , the extension is instantiated when the specification is read. If
no , then the extension is not created until first needed.
|