Hi Jason, thanx for your confirmation. Your proposed solution is what I wanted to avoid...
Thanx && cheers, Martin On Thu, 2010-01-28 at 18:20 -0800, Jason Brittain wrote: > You're right that you would need to modify Tomcat's code to do that. > Commons-digester > would need to be told how to read a new nested element. Without modifying > the code, > you may, however, be able to get away with something like: > > <Manager className="org.app.MyManager" foo="foo" bar="bar"> > > .. where your custom MyManager class has String properties foo and bar. > > -- > Jason Brittain > Mulesoft http://www.mulesoft.com > > > On Thu, Jan 28, 2010 at 4:31 PM, Martin Grotzke < > martin.grot...@javakaffee.de> wrote: > > > Hi, > > > > is it somehow possible to have a custom nested element below the Manager > > element in server.xml/context.xml? E.g. > > > > <Manager className="org.app.MyManager"> > > <FooBar foo="bar"/> > > </Manager> > > > > where the MyManager class has a property fooBar? > > > > AFAICS the ContextRuleSet defines what's possible in the Context element > > without any hook - so it seems that there's no possibility to achieve > > this. > > > > If someone could tell me that I'm wrong with this asumption I would be > > happy! :-) > > > > Thanx && cheers, > > Martin > > > > -- > > Martin Grotzke > > http://www.javakaffee.de/blog/ > > -- Martin Grotzke http://www.javakaffee.de/blog/
signature.asc
Description: This is a digitally signed message part