> -----Original Message----- > From: El Quijote [mailto:[EMAIL PROTECTED] > Sent: 24 November 2004 11:30 > To: [EMAIL PROTECTED] > Subject: context > > Hi! > I'm new to the subject of the avalon-framework and find the expression > "context for a component" very abstract. Could somebody explain to me what > is meant?
Sure can! Basically all of the component stuff is centered on the notion that your implementation should not have to go looking for the things that it needs. Instead - it declares what it needs to function and it’s the job of a container [1] to provide everything that is needed. There is a short description of a component [2] on the development guide listed below. A component declares operation requirements using tag markup in the source code [3] which in turn is used by a container to figure out the information and services that a component needs. There are several mechanism through which a container can deliver the resources that a component needs. One of these is through a component context object (described in the framework api [4]). Typically a context object is used to provide data such as the working directory, temporary directory, the assigned component name, etc. A container can provide much more via context if you provide appropriate directives. Example of context management (ranging from standard entries through to custom entries and custom delivery strategies are presented in the Context Management Guide [5]). Tutorials presented in the guide are based on the Metro component model however full runtime support for the Avalon Component Model is provided (in fact there are several test cases using Avalon and also tool support enabling management of Avalon component development needs). If you need any assistance on working though this material or have feedback you want to provide - please signup to the DPML support list [6] or come on over to our irc channel #dpml-metro at irc.freenode.net. Cheers, Steve. [1] http://www.dpml.net/central/products/metro [2] http://www.dpml.net/central/guide/development [3] http://www.dpml.net/central/products/metro/composition/descriptors/tags [4] http://www.dpml.net/dpml/metro/public/dpml-metro-public/SNAPSHOT/api [5] http://www.dpml.net/central/guide/development/context [6] http://www.dpml.net/central/about/resources > > Many Greetings... > > _________________________________________________________________ > Die rote Karte für lästige E-Mails. MSN Hotmail mit Junk-Mail-Filter. > http://www.msn.de/antispam/prevention/junkmailfilter Jetzt kostenlos > anmelden! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]