tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Chatellier <>
Subject Injection of objet created by interceptor (per request)
Date Wed, 09 May 2012 10:52:17 GMT

I'm currently using openejb 4.0 as embedded ejb container.

I'm also trying to find a proper way to create object
in interceptor and getting access to them in EJB.

Is there any way to:
- create an object (in this case a transaction to a custum persistence framefork)
- put it somewhere
- inject it on EJB using @Inject or @Resource

Note: the created object must be unique per transaction, so can't be
defined in container configuration.

Thanks in advance.

√Čric Chatellier <>

View raw message