Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1392

Move injection handlers to Ejb3Deployment

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • AS 5.0.0.CR1
    • AS 5.0.0.Beta4
    • injection
    • None

      I want to move the EJBContainer.processMetadata InjectionHandler setup:

      public void processMetadata()
      {
      // XML must be done first so that any annotation overrides are initialized

      // todo injection handlers should be pluggable from XML
      Collection<InjectionHandler<Environment>> handlers = new ArrayList<InjectionHandler<Environment>>();
      handlers.add(new EJBHandler<Environment>());
      handlers.add(new DependsHandler<Environment>());
      handlers.add(new JndiInjectHandler<Environment>());
      handlers.add(new PersistenceContextHandler<Environment>());
      handlers.add(new PersistenceUnitHandler<Environment>());
      handlers.add(new ResourceHandler<Environment>());
      handlers.add(new WebServiceRefHandler<Environment>());

      to the input Ejb3Deployment so that these can be overridden from the deployment environment.

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

                Created:
                Updated:
                Resolved: