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 createListener(Class clazz) >> throws ServletException { >> T

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 createListener(Class clazz) >throws ServletException { >T listener = null; >try { > listener = cla

AsyncListeners and resource injection

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