public class LazyLoadingRemoteInvocationAspect extends Object implements RemoteInvocationAspect
LazyLoadingScript
s.
If the scipt being executed is a lazy loading script, and it is cacheable, the actual script
content will not be sent to the remote service. If the script is already complied and cached,
there is no need to get the actual script content, and it will be executed. If the script if not
loaded (i.e. not compiled and cached), the scripting executor will throw a ScriptNotLoadedException
exception, which then the script will
be loaded and executed again.
Constructor and Description |
---|
LazyLoadingRemoteInvocationAspect() |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation,
RemotingInvoker remotingInvoker)
If the scipt being executed is a lazy loading script, and it is cacheable, the actual script
content will not be sent to the remote service.
|
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation, RemotingInvoker remotingInvoker) throws Throwable
ScriptNotLoadedException
exception, which then the script
will be loaded and executed again.invoke
in interface RemoteInvocationAspect
Throwable
Copyright © GigaSpaces.