org.glassfish.hk2.api
Interface ProxyCtl


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

Author:
jwells

Method Summary
 Object __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

__make

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:
The underlying instance of the service (not wrapped by the proxy)
Throws:
MultiException - If there was an error creating the proxy a MultiException will be thrown containing the underlying cause or causes


Copyright © 2012 Oracle Corporation. All Rights Reserved.