Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/DesignDocs/366748"

(New page: <div style="margin:5px;float:right;border:1px solid #000000;padding:5px">__TOC__</div> = Design Specification: Injectable Entity Listeners = [http://bugs.eclipse.org/366748 ER 366748] ==...)
 
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
== Project overview ==
 
== Project overview ==
  
Overview of the project/feature.  Why is it desired, what are its goals.
+
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 ListenerThis will be a requirement in JPA 2.1
 
+
Goals:
+
* goal 1
+
* goal 2
+
  
 
== Concepts ==
 
== Concepts ==
Line 30: Line 26:
 
== Requirements ==
 
== Requirements ==
  
The following sections will expand the goals of this project into more concrete 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 Constraints ==
Line 45: Line 41:
  
 
== Documentation ==
 
== Documentation ==
 +
 +
==Work Required==
 +
# Investigate and integrate with container CDI
 +
#: approx 3 day
 +
# Testing
 +
#: approx 2 days
  
 
== Open Issues ==
 
== Open Issues ==

Latest revision as of 08:54, 10 September 2012

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