new BidiSerialization.LocationSerialization(mgmt).install(mapperModule);
mapperModule.addSerializer(new MultimapSerializer());
mapper.registerModule(mapperModule);
return mapper;
}
<BUG>public static ManagementContext getManagementContext(ServletContext servletContext) {
if (servletContext == null)
return null;
return (ManagementContext) servletContext.getAttribute(BrooklynServiceAttributes.BROOKLYN_MANAGEMENT_CONTEXT);</BUG>
}

new BidiSerialization.LocationSerialization(mgmt).install(mapperModule);
mapperModule.addSerializer(new MultimapSerializer());
mapper.registerModule(mapperModule);
return mapper;
}
public static ManagementContext getManagementContext(ServletContext servletContext) {
return OsgiCompat.getManagementContext(servletContext);
}
