In the caps managment API the following,
RTC51XMonitor rservice = rlocator.getRuntimeService51x();
String serviceID = service.openSession("admin","adminadmin");
Object servicelist = rservice.getComponentsList(serviceID);
servicelist would return the list of components including the stcms and jmq components.
With the glassfish management API I can retrieve service assemblies, service engines, bc's and jee objects, but how do I get the stcms and jmq components?