Class StubInvocationHandlerImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler,org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
public final class StubInvocationHandlerImpl extends java.lang.Object implements org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
-
Field Summary
Fields Modifier and Type Field Description private PresentationManager.ClassDataclassDataprivate PresentationManagerpmprivate java.lang.reflect.Proxyselfprivate Objectstub
-
Constructor Summary
Constructors Constructor Description StubInvocationHandlerImpl(PresentationManager pm, PresentationManager.ClassData classData, Object stub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.ProxygetProxy()java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)private booleanisLocal(Delegate delegate)private java.lang.ObjectprivateInvoke(Delegate delegate, java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)Invoke the given method with the args and return the result.voidsetProxy(java.lang.reflect.Proxy self)private voidtakingLocalBranch()private voidtakingRemoteBranch()
-
-
-
Field Detail
-
classData
private transient PresentationManager.ClassData classData
-
pm
private transient PresentationManager pm
-
stub
private transient Object stub
-
self
private transient java.lang.reflect.Proxy self
-
-
Constructor Detail
-
StubInvocationHandlerImpl
public StubInvocationHandlerImpl(PresentationManager pm, PresentationManager.ClassData classData, Object stub)
-
-
Method Detail
-
setProxy
public void setProxy(java.lang.reflect.Proxy self)
- Specified by:
setProxyin interfaceorg.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
getProxy
public java.lang.reflect.Proxy getProxy()
- Specified by:
getProxyin interfaceorg.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
isLocal
private boolean isLocal(Delegate delegate)
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable- Specified by:
invokein interfacejava.lang.reflect.InvocationHandler- Throws:
java.lang.Throwable
-
takingRemoteBranch
@InfoMethod private void takingRemoteBranch()
-
takingLocalBranch
@InfoMethod private void takingLocalBranch()
-
privateInvoke
private java.lang.Object privateInvoke(Delegate delegate, java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
Invoke the given method with the args and return the result. This may result in a remote invocation.- Parameters:
proxy- The proxy used for this class (null if not using java.lang.reflect.Proxy)- Throws:
java.lang.Throwable
-
-