Uploaded image for project: 'JBoss Naming'
  1. JBoss Naming
  2. JBNAME-20

Split out ObjectFactory implementation from LocalOnlyContextFactory

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 5.0.0.GA
    • 5.0.0.CR3
    • jnp-client
    • None
    • Documentation (Ref Guide, User Guide, etc.)

    Description

      The LocalOnlyContextFactory currently implements a URL content ObjectFactory for some reason:
      // ObjectFactory implementation ----------------------------------
      public Object getObjectInstance(Object obj,
      Name name,
      Context nameCtx,
      Hashtable environment)
      throws Exception

      { Context ctx = getInitialContext(environment); Reference ref = (Reference)obj; return ctx.lookup((String)ref.get("URL").getContent()); }

      This should be in a separate URLContentObjectFactory bean

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: