Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/DesignDocs/366748

Design Specification: Injectable Entity Listeners

ER 366748

Document History

Date Author Version Description & Notes
14 December 2011 Gordon Yorke Initial Document created

Project overview

Contexts and Dependency Injection (CDI) was a JSR released as part of Java EE 6. CDI allows for container managed injection of artifacts into Java Objects. This feature will provide the functionality needed for EclipseLink to integrate with CDI to provide for CDI injecting into the Entity Listener. This will be a requirement in JPA 2.1

Concepts

Present any concepts relevant to the feature.

Requirements

Using CDI interfaces when available EclipseLink must pass an Entity Listener to the container to allow for injection. The specification covers the process and lifecycle.

Design Constraints

Design / Functionality

Testing

API

GUI

Config files

Documentation

Work Required

  1. Investigate and integrate with container CDI
    approx 3 day
  2. Testing
    approx 2 days

Open Issues

This section lists the open issues that are still pending that must be decided prior to fully implementing this project's requirements.

Issue # Owner Description / Notes

Decisions

This section lists decisions made. These are intended to document the resolution of open issues or constraints added to the project that are important.

Issue # Description / Notes Decision

Future Considerations

During the research for this project the following items were identified as out of scope but are captured here as potential future enhancements. If agreed upon during the review process these should be logged in the bug system.

Back to the top