|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.server.impl.jcdi.JCDIComponentProviderFactory
public class JCDIComponentProviderFactory
Constructor Summary | |
---|---|
JCDIComponentProviderFactory(java.lang.Object bm)
|
Method Summary | |
---|---|
IoCComponentProvider |
getComponentProvider(java.lang.Class<?> c)
Get the IoC component provider for a class. |
IoCComponentProvider |
getComponentProvider(ComponentContext cc,
java.lang.Class<?> c)
Get the IoC component provider for a class with additional context. |
void |
init(IoCComponentProcessorFactory cpf)
Initialize with the IoCComponentProcessorFactory . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCDIComponentProviderFactory(java.lang.Object bm)
Method Detail |
---|
public void init(IoCComponentProcessorFactory cpf)
IoCComponentProcessorFactoryInitializer
IoCComponentProcessorFactory
.
init
in interface IoCComponentProcessorFactoryInitializer
cpf
- the IoC component processor factory.public IoCComponentProvider getComponentProvider(java.lang.Class<?> c)
IoCComponentProviderFactory
getComponentProvider
in interface ComponentProviderFactory<IoCComponentProvider>
getComponentProvider
in interface IoCComponentProviderFactory
c
- the class
public IoCComponentProvider getComponentProvider(ComponentContext cc, java.lang.Class<?> c)
IoCComponentProviderFactory
The additional context will be associated with the annotations and
optionally an annotated object. For example, a component provider may
be requested for a class that is the type of a Field
, or be
requested for a class that is the type of a method parameter.
getComponentProvider
in interface IoCComponentProviderFactory
cc
- the component context to obtain annotations and
the annotated object (if present).c
- the class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |