Package com.opengamma.livedata.entitlement

Examples of com.opengamma.livedata.entitlement.EntitlementServer


 
  private static ByteArrayFudgeRequestSender getEntitlementRequestSender(StandardLiveDataServer server) {
    ByteArrayFudgeRequestSender entitlementRequestSender = new ByteArrayFudgeRequestSender(
        new InMemoryByteArrayRequestConduit(
            new FudgeRequestDispatcher(
                new EntitlementServer(server.getEntitlementChecker()))));
    return entitlementRequestSender;
  }
View Full Code Here


   *
   * @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);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.livedata.entitlement.EntitlementServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.