Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1111

InitialContextFactory for modeshape

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.5.0.Beta1
    • 2.2.1.GA
    • Common
    • None

    Description

      Could be useful a default InitialContextFactory in modeshape so a client can call it through jndi. Here an example:

      Hashtable<String, Object> jndiContext = new Hashtable<String, Object>();
      jndiContext.put("java.naming.factory.initial","org.modeshape.common.naming.DummyInitialContextFactory");
      jndiContext.put("java.naming.provider.url","localhost");
      InitialContext initialContext = new InitialContext(jndiContext);

      It is enough to add two classes in modeshape-common project.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            luca.stancapiano@vige.it Luca Stancapiano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: