public EndpointReference HandleCreate(ExtractBodyDelegate extractBodyCallback) { var request = (DynamicMBeanResourceConstructor)extractBodyCallback(typeof(DynamicMBeanResourceConstructor)); var objectName = request.ResourceEPR.ExtractObjectName(); var arguments = request.RegistrationParameters.Select(x => x.Deserialize()).ToArray(); var instance = _server.CreateMBean(request.ResourceClass, objectName, arguments); return(ObjectNameSelector.CreateEndpointAddress(instance.ObjectName)); }