com.sun.jersey.server.impl.cdi
Class CDIComponentProviderFactory
java.lang.Object
com.sun.jersey.server.impl.cdi.CDIComponentProviderFactory
- All Implemented Interfaces:
- ComponentProviderFactory<IoCComponentProvider>, IoCComponentProviderFactory, WebApplicationListener
public class CDIComponentProviderFactory
- extends java.lang.Object
- implements IoCComponentProviderFactory, WebApplicationListener
Factory for IoCComponentProvider for CDI beans.
Crucially, it passes the WebApplication and ResourceConfig on to the CDIExtension,
allowing beans registered by the extension to (finally) do some work.
- Author:
- Paul.Sandoz@Sun.Com, robc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDIComponentProviderFactory
public CDIComponentProviderFactory(java.lang.Object bm,
ResourceConfig rc,
WebApplication wa)
onWebApplicationReady
public void onWebApplicationReady()
- Specified by:
onWebApplicationReady in interface WebApplicationListener
getComponentProvider
public IoCComponentProvider getComponentProvider(java.lang.Class<?> c)
- Specified by:
getComponentProvider in interface ComponentProviderFactory<IoCComponentProvider>- Specified by:
getComponentProvider in interface IoCComponentProviderFactory
getComponentProvider
public IoCComponentProvider getComponentProvider(ComponentContext cc,
java.lang.Class<?> c)
- Specified by:
getComponentProvider in interface IoCComponentProviderFactory
Copyright © 2014 Oracle Corporation. All Rights Reserved.