public interface IoCProxiedComponentProvider extends IoCComponentProvider
The component is fully managed by the runtime but when an instance is created the underlying IoC framework is deferred to for creating a proxy of the component instance.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getInstance()
This method will not be invoked since an instance is
created by the runtime, and that instance may be proxied via the
proxy(java.lang.Object) method. |
java.lang.Object |
proxy(java.lang.Object o)
Proxy a component instance.
|
java.lang.Object getInstance()
proxy(java.lang.Object)
method.getInstance
in interface ComponentProvider
java.lang.Object proxy(java.lang.Object o)
o
- the component instance to proxy.Copyright © 2016 Oracle Corporation. All Rights Reserved.