103104105106107108109110111112113
} return get(type, id); } private CapabilityManager getManager(final String type) { final CapabilityManager manager = managers.get(type); if (manager == null) { throw new NotFoundException("Capability manager of type '" + type + "' are not supported"); } return manager; }