I want RMIAdaptor to access org.jboss.naming.NamingAlias MBean to set the alias for a exist jndi name. for example, i want to set an alias for ConnectionFactory in mq. i know how to write the config file, but i do not know how to write program to invoke the method of the MBean.
Use createMBean()
then setAttributes()
then create()
then start()
Regards,
Adrian