|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IoCInstantiatedComponentProvider
An IoC-instantiated component provider.
The component is instantiated and injected by the underlying IoC framework, but the life-cycle is managed by the runtime according to the life-cycle declared ub the runtime's semantics.
Method Summary | |
---|---|
java.lang.Object |
getInjectableInstance(java.lang.Object o)
The instance for the runtime to perform injection on. |
Methods inherited from interface com.sun.jersey.core.spi.component.ComponentProvider |
---|
getInstance |
Method Detail |
---|
java.lang.Object getInjectableInstance(java.lang.Object o)
Some IoC frameworks create proxies that proxy instances of the class to enable, for example, Aspect Oriented Programming, to support cross cutting functionality. If such proxies are returned then any injection of onto fields of the proxy (if any) will not have any effect. The runtime requires access to the proxied instance such that injection onto fields will take effect.
o
- the component instance returned by ComponentProvider.getInstance()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |