return null;
}
private IPropertySource adaptToPropertySource(Object adaptableObject) {
if (adaptableObject instanceof DomainWrapper) {
DomainWrapper domain = (DomainWrapper) adaptableObject;
return new DomainPropertySourceAdapter(domain.getName());
}
if (adaptableObject instanceof MBeanInfoWrapper) {
MBeanInfoWrapper wrapper = (MBeanInfoWrapper) adaptableObject;
return new MBeanInfoPropertySourceAdapter(wrapper.getObjectName(),
wrapper.getMBeanInfo());