ACCESSING WEBLOGIC MBEANS
I M WORKING ON A PROJECT "JAMX SERVER CONSOLE". FOR JBOSS I AM GETTING THE MBEANS,ATTRIBUTES AND OPERATIONS...AND I CAN INVOKE THE OPERATIONS ALSO...
BUT IN CASE OF WEBLOGIC.. I M ONLY GETTING THE MBEAN INFORMATION BY
Set mySet=connection.queryMBeans(null,null);
Iterator itr=mySet.iterator();
while(itr.hasNext())
{
Object mbean=itr.next();
System.out.println(mbean);
Thread.sleep(2000);
}
now to get attributes and operations i need objectname but the itr.next() returns the object instance and it cannot be casted into object name so i cannot use getMbeanInfo() method...
help me plz....

