[ mx4j-Bugs-981064 ] HttpAdapter example code should have public MBeanInterface

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #981064, was opened at 2004-06-28 09:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=981064&group_id=47745

Category: HTTP Adaptor
Group: Release 2.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Jesper Söderlund (jespersoderlund)
Assigned to: Nobody/Anonymous (nobody)
Summary: HttpAdapter example code should have public MBeanInterface

Initial Comment:
The mx4j.examples.tools.adaptor.http.HttpAdapter
example code should have the MBeanInterface
"TestClassMBean" as "public" not as private.

This will cause the following stacktrace if not fixed:

javax.management.NotCompliantMBeanException: MBean is
not compliant
	at
mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:794)
	at
mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:745)
	at
mx4j.server.MX4JMBeanServer.registerMBean(MX4JMBeanServer.java:729)
	at
mx4j.examples.tools.adaptor.http.HttpAdaptor.start(HttpAdaptor.java:279)
	at
mx4j.examples.tools.adaptor.http.HttpAdaptor.main(HttpAdaptor.java:303)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=981064&group_id=47745


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.