Fork me on GitHub

Avalon Context

The components are initialized with an Avalon Context if the implementation class implements the Contextualizable interface.

Specification

Item Datatype Description
urn:avalon:home File Defines the Merlin application root.
urn:avalon:temp File Define the Merlin temporary directory.
urn:avalon:name String Define the Merlin component name.
urn:avalon:partition String Define the Merlin partition name.
urn:avalon:classloader Classloader Define the Merlin component classloader.
componentAppRoot String The fully qualified name of the Merlin application root. This entry exists only for backward compatibilty with existing Fulcrum services and will be removed as soon as possible.
component.id String Fortress alias for "urn:avalon:partition"
component.logger String Fortress alias for "urn:avalon:name"
context-root File Fortress alias for "urn:avalon:home"
impl.workDir File Fortress alias for "urn:avalon:temp"

Example

Entry Value
urn:avalon:home W:\work\it20one\service\it20one-service-framework
urn:avalon:temp C:\DOKUME~1\Sigi\LOKALE~1\Temp
urn:avalon:name org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyService
urn:avalon:partition root
urn:avalon:classloader sun.misc.Launcher$AppClassLoader@e80a59
componentAppRoot W:\work\it20one\service\it20one-service-framework
component.id root
component.logger org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyService
context-root W:\work\it20one\service\it20one-service-framework
impl.workDir C:\DOKUME~1\Sigi\LOKALE~1\Temp