james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank-Michael Böhle <frami...@yahoo.de>
Subject RE: newbie: Spreading common config-infos across multiple mailets
Date Mon, 19 Jan 2004 19:40:35 GMT
 --- Steve Brewin <sbrewin@synsys.com> schrieb: > >
> Given...
> <!ENTITY parm1 "red">
> <!ENTITY parm2 "blue">
> ...you can use &parm1; anywhere you would have coded
> "red" and &parm2;
> anywhere you would have coded "blue".
> In fact, can do anything that XML allows! See
> http://www.w3.org/TR/REC-xml#sec-entity-decl and
> http://www.w3.org/TR/REC-xml#NT-EntityRef for more.
> -- Steve
Steve, we misunderstood each other:
I want to provide every mailet with access to a global
parameter section. Something like

Every mailet should gain access to that parms _AND_ I
want to code it _ONCE_ in the James-config-xml. How
and where?
If I use mailet's getInitParameter(parm1), in my
opinion I have to provide that parms within every
mailetsection again.

Regards, Frank


Gesendet von Yahoo! Mail - http://mail.yahoo.de
Mit Yahoo! Suche finden Sie alles: http://suche.yahoo.de

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message