This is an old debate, to support or not matcher parameters. For now the only approach is to use the condition string of the matcher and parse it.
Vincenzo > -----Original Message----- > From: Brian J. Sayatovic [mailto:[EMAIL PROTECTED] > Sent: martedi 14 ottobre 2003 12.28 > To: 'James Users List' > Subject: Init params for Matchers? > > > I've only made one Mailet, and now I'm trying to make a Matcher. > However, I > can't figure out how to pass initialization parameters to the Matcher > instance. It is passed a MatcherConfig, but that doesn't appear > to have any > 'getInitParameter()' method. > > Any ideas? I basically want to pass a user-configured String value to the > Matcher. I'd hate to resort to a System property. > > Regards, > Brian. > > -- > Help free our mailboxes. Include http://wecanstopspam.org in your > signature. > > > --------------------------------------------------------------------- > 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]
