[ http://jira.jboss.com/jira/browse/JBJMX-89?page=comments#action_12316525 ] Adrian Brock commented on JBJMX-89: -----------------------------------
Dimitris, I think you'll find he is complaining about the code in org.jboss.mx.server.MethodMapper.lookupOperation() that resolves the mbean implementation method rather than the mbean interface method. > Access the interface not the implementation > ------------------------------------------- > > Key: JBJMX-89 > URL: http://jira.jboss.com/jira/browse/JBJMX-89 > Project: JBoss JMX > Type: Bug > Versions: JBossAS-4.0.1 > Reporter: Michael Kopp > Assignee: Dimitris Andreadis > > > I have a package private MBean class, the StandardMBean interface is public > though! > class WorkManager implements WorkManagerMBean > WorkManager is private > WorkManagerMBean is public > Unfortunatelly jboss jmx accesses the implementation directly, thus throwing > an IllegalAccessException. If it would access the mbean via the provided > interface this would not happen. (like jdk 5 is doing) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
