*
* @param repo the repository, not null
* @param server the server, not null
*/
protected void publishJmsEntitlement(ComponentRepository repo, StandardLiveDataServer server) {
EntitlementServer entitlementServer = new EntitlementServer(server.getEntitlementChecker());
FudgeRequestDispatcher dispatcher = new FudgeRequestDispatcher(entitlementServer);
JmsByteArrayRequestDispatcher jmsDispatcher = new JmsByteArrayRequestDispatcher(dispatcher);
JmsTopicContainer jmsContainer = getJmsConnector().getTopicContainerFactory().create(getJmsEntitlementTopic(), jmsDispatcher);
repo.registerLifecycle(jmsContainer);
}