OptionsContainer should provide type-safe APIs for accessing specific unique as well as non-unique options:
//uniqueOption ForceOption force = optionsService.context().getGlobalOptions().getUnique(ForceOption.class); Set<NamedQueryOption> namedQueries = optionsService.context().getEntityOptions(Giraffe.clas).get(NamedQuery.class);