"alesj" wrote :
| Does ServiceControllerContext even have similar logic?
|
I guess not, as I see this in SMDICF:
| // Looks for a ManagementObjectClass annotation that defines
| // an alternate class to scan for management annotations
| List<ServiceAnnotationMetaData> samlist = md.getAnnotations();
| for (ServiceAnnotationMetaData sam : samlist)
| {
| // Annotations are not yet introduced to the actual mbean
| // so just look for the annotation string
| String anString = sam.getAnnotation();
| if (anString.startsWith(MOCLASS_ANNOTATION))
| {
| Class<?> originalClass = moClass;
| ManagementObjectClass moc =
(ManagementObjectClass)sam.getAnnotationInstance(loader);
| moClass = moc.code();
| log.debug("Using alternate class '" + moClass +
"' for class " + originalClass);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191257#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...