ICEpush
  1. ICEpush
  2. PUSH-413

Make the MongoClient available through the PushInternalContext

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.GA
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      ICEpush

      Description

      Similar to Morphia's Datastore, the MongoClient should be made available through the PushInternalContext to the other layers in the stack.

        Activity

        Hide
        Jack Van Ooststroom added a comment -

        Sending core/src/main/java/org/icepush/DatabaseConfigurator.java
        Transmitting file data .
        Committed revision 49351.

        Show
        Jack Van Ooststroom added a comment - Sending core/src/main/java/org/icepush/DatabaseConfigurator.java Transmitting file data . Committed revision 49351.
        Hide
        Jack Van Ooststroom added a comment -

        The MongoClient can now be retrieved from the PushInternalContext as follows:

        (MongoClient)PushInternalContext.getInstance().getAttribute(MongoClient.class.getName())
        

        Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - The MongoClient can now be retrieved from the PushInternalContext as follows: (MongoClient)PushInternalContext.getInstance().getAttribute(MongoClient.class.getName()) Marking this one as FIXED.

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: