@Override
	protected DetailedContainerResource instantiateResource(DetailedContainer entity) {
		return new DetailedContainerResource(entity.getAttributes(), entity.getDeploymentSize(),
				moduleMetadatResourceAssembler.toResources(entity.getDeployedModules()), entity.getMessageRates());
	}
Knows how to assemble {@link DetailedContainerResource}s out of {@link DetailedContainer} instances.

@author Ilayaperumal Gopinathan
@author Mark Fisher
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/RuntimeContainerResourceAssembler.java