Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3357

Implement support for lookup mechanism for JAXWS endpoints & handlers

XMLWordPrintable

      JSR 316: JavaEE Platform Specification
      Section 5.4: Simple Environment Entries

      // an entry that gets its value from an application-wide entry
      @Resource(lookup="java:app/env/timeout") int timeout;

      <env-entry>
      <env-entry-name>somePackage.SomeClass/timeout</env-entry-name>
      <env-entry-type>java.lang.Integer</env-entry-type>
      <injection-target>
      <injection-target-class>somePackage.SomeClass</injection-
      target-class>
      <injection-target-name>timeout</injection-target-name>
      </injection-target>
      <lookup-name>java:app/env/timeout</lookup-name>
      </env-entry>

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: