public MBeanAttributeInfo Deserialize() { bool readable = access.IndexOf('r') != -1; bool writable = access.IndexOf('w') != -1; Descriptor descriptor = GetDescriptorFromFieldValues(); return(new MBeanAttributeInfo(name, Description.Value, JmxTypeMapping.GetCLRTypeName(type), readable, writable, descriptor)); }
public MBeanOperationInfo Deserialize() { OperationImpact impactEnum = OperationImpact.Unknown; if (impact != null && impact.IndexOf('r') != -1) { impactEnum |= OperationImpact.Info; } if (impact != null && impact.IndexOf('w') != -1) { impactEnum |= OperationImpact.Action; } XmlQualifiedName typeQualifiedName = null; if (Output != null) { typeQualifiedName = Output.type; } return(new MBeanOperationInfo(name, Description.Value, JmxTypeMapping.GetCLRTypeName(typeQualifiedName), Input.EmptyIfNull().Select(x => x.Deserialize()).ToArray(), impactEnum, GetDescriptorFromFieldValues())); }
public object Deserialize() { return(SimpleType.CreateSimpleType(System.Type.GetType(JmxTypeMapping.GetCLRTypeName(Type), true))); }
public MBeanParameterInfo Deserialize() { return(new MBeanParameterInfo(name, Description.Value, JmxTypeMapping.GetCLRTypeName(type), GetDescriptorFromFieldValues())); }