This content has been marked as final.
Show 3 replies
-
1. Re: EJBTHREE-1392, improve injection handler configuration
starksm64 Jun 3, 2008 10:46 PM (in response to starksm64)I added the following to the Ejb3Deployment
/** * Return the container injection handler collection. If not specified(null) * a default handler collection will be created. * @return the injection handler collection to use, null if the container * should use a default setup. */ protected Collection<InjectionHandler<Environment>> getHandlers() { return null; }
and the EJBContainer.processMetadata code initializes the old collection if the deployment getHandlers returns null. -
2. Re: EJBTHREE-1392, improve injection handler configuration
wolfc Jun 6, 2008 3:38 AM (in response to starksm64)Can't we do an @Inject on some container property for this?
I don't see the indirection via Ejb3Deployment to be particularly useful. -
3. Re: EJBTHREE-1392, improve injection handler configuration
starksm64 Jun 6, 2008 9:39 AM (in response to starksm64)Sure it could be, but the current contract for the container is rather opaque in terms of the integration layer. The container shows up as an Object in the KernelAbstraction.install call. The Ejb3Deployment is the main integration api for the Ejb3Deployer currently.