Top Description Methods
org.glassfish.hk2.api

public Interface ProxyCtl


Every proxy generated by HK2 will implement this interface, which can be used to have finer control on the behavior of the proxy

Compare this to the AOPProxyCtl interface, which is implemented by proxies used for the AOPAlliance method or constructor interceptor feature

Author
jwells

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

The underlying instance of the service (not wrapped by the proxy)
__make
()

This method causes the proxy instance to get created at the current time, without calling any of the methods on the underlying class itself.

Method Detail

__makeback to summary
public Object __make() throws MultiException

This method causes the proxy instance to get created at the current time, without calling any of the methods on the underlying class itself. This is useful if you need to have the underlying object get created and go through its initialization cycle at a specific time, but do not wish to invoke any specific method on the object.

Returns:Object

The underlying instance of the service (not wrapped by the proxy)

Exceptions
MultiException:
If there was an error creating the proxy a MultiException will be thrown containing the underlying cause or causes