Assert.notNull(cartridge);
if (this.embeddedCartridges == null) {
loadEmbeddedCartridges();
}
final CartridgeResourceDTO embeddedCartridgeDTO =
new AddEmbeddedCartridgeRequest().execute(cartridge.getName());
final EmbeddedCartridgeResource embeddedCartridge =
new EmbeddedCartridgeResource(
embeddedCartridgesInfos.get(embeddedCartridgeDTO.getName()),
embeddedCartridgeDTO, this);
this.embeddedCartridges.add(embeddedCartridge);
return embeddedCartridge;
}