// TODO: should retrieve the real component class loader
return lcc.getComponent().getClass().getClassLoader();
}
public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
AttributeInfoHelper helper = new AttributeInfoHelper();
helper.addAttribute(getObjectToManage(), "currentState", "current state of the service unit");
helper.addAttribute(getObjectToManage(), "name", "name of the service unit");
helper.addAttribute(getObjectToManage(), "componentName", "component name of the service unit");
helper.addAttribute(getObjectToManage(), "serviceAssembly", "service assembly name of the service unit");
helper.addAttribute(getObjectToManage(), "description", "description of the service unit");
return helper.getAttributeInfos();
}