public synchronized MBeanInfo getMBeanInfo() {
//the client doesn't know about IspnMBeanOperationInfo so we need to convert first
MBeanOperationInfo[] operationInfoForClient = new MBeanOperationInfo[opInfos.length];
for (int i = 0; i < opInfos.length; i++) {
IspnMBeanOperationInfo current = opInfos[i];
operationInfoForClient[i] = new MBeanOperationInfo(current.getOperationName(), current.getDescription(),
current.getSignature(), current.getReturnType(), MBeanOperationInfo.UNKNOWN);
}
return new MBeanInfo(getObject().getClass().getCanonicalName(), mBeanMetadata.getDescription(), attInfos, null, operationInfoForClient, null);
}