On 2002.06.27 11:52:24 -0400 Scott M Stark wrote:
> The point is that you should not have to code presentation specific
> methods
> in your mbeans. 

Agreed.  I'd like to take that one back out ASAP.

We are going to be using our html adaptor in the next
> release so any hacking should be done there. 
3.0.1 or 3.1?

In our html adapter, couldn't we just do a quick check of any result from a
jmx operation and if it doesn't start with an html tag wrap it in
<pre>...</pre>?

david

I'm inclined to use a
> mechanism like the java.beans.PropertyEditor that allows one to obtain
> a xml fragment given a jmx object name and either attribute name or
> method
> name.
> 
> Maybe one of the existing xml based web frameworks like Cocoon would
> be a good fit for this. Anyone have any experience with one of them
> want to suggest how to do this?
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message ----- 
> From: "David Jencks" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 27, 2002 5:31 AM
> Subject: Re: [JBoss-dev] Viewing mbean operation results
> 
> 
> > The quick easy solution/hack is to add a ListxxxAsString method for
> these
> > that returns
> > "<pre>" + Listxxx().toString() + "</pre>".
> > 
> > I did this for one of these methods.  Should I do it for the others?
> > 
> > How about if you do this in your jmx presentation servlet?  Are we
> using
> > this yet?
> > 
> > 
> > 
> > On 2002.06.27 04:07:08 -0400 Scott M Stark wrote:
> > > I thought 'presentationString' only applied to model mbeans. How
> > > can we integrate the presentation metadata into the existing standard
> > > and dynamic mbeans?
> > 
> > We could convert the standard ones to xmbeans and get reasonable
> > descriptions while we're at it.  Maybe for 3.1
> > 
> > david jencks
> 
> 
> 
> 
> -------------------------------------------------------
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to