}
if (beanManager.getServices().contains(TransactionServices.class)) {
beanDeployer.addBuiltInBean(new UserTransactionBean(beanManager));
}
if (beanManager.getServices().contains(SecurityServices.class)) {
beanDeployer.addBuiltInBean(new PrincipalBean(beanManager));
}
// Register the context beans
for (ContextHolder<? extends Context> context : contexts) {
beanDeployer.addBuiltInBean(ContextBean.of(context, beanManager));
}