Re: AsyncListeners and resource injection

2010-09-16 Thread David Jencks
On Sep 15, 2010, at 10:51 PM, David Jencks wrote: On Sep 15, 2010, at 9:58 PM, David Jencks wrote: I think this is how AsyncContextImpl creates async listeners (lines 228ff) @Override public T extends AsyncListener T createListener(ClassT clazz) throws ServletException {

AsyncListeners and resource injection

2010-09-15 Thread David Jencks
I think this is how AsyncContextImpl creates async listeners (lines 228ff) @Override public T extends AsyncListener T createListener(ClassT clazz) throws ServletException { T listener = null; try { listener = clazz.newInstance(); } catch

Re: AsyncListeners and resource injection

2010-09-15 Thread David Jencks
On Sep 15, 2010, at 9:58 PM, David Jencks wrote: I think this is how AsyncContextImpl creates async listeners (lines 228ff) @Override public T extends AsyncListener T createListener(ClassT clazz) throws ServletException { T listener = null; try {