Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1498

inject JBoss service EJB with @In

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.1.CR1
    • Component/s: EJB3
    • Labels:
      None

      Description

      to inject a Service EJB into a seam component, for consistency it would certainly be very nice to be able to inject it within SEAM with @In and optionally adding an @Name attribute to the service class. it would be more consistent and shorter than the standard jboss approach (below)

      private GlobalConfigurationMBean globalConfiguration;

      @Depends ("upr:service=globalConfiguration")
      public void setGlobalConfiguration(final GlobalConfigurationMBean globalConfiguration)

      { this.globalConfiguration = globalConfiguration; }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                norman.richards Norman Richards
                Reporter:
                koenhandekyn koen handekyn
              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: