EJBClientInvocationContext(final EJBInvocationHandler<?> invocationHandler, final EJBClientContext ejbClientContext, final Object invokedProxy, final Object[] parameters, final EJBProxyInformation.ProxyMethodInfo methodInfo, final int allowedRetries, final Supplier<AuthenticationContext> authenticationContextSupplier) { super(invocationHandler.getLocator(), ejbClientContext); this.invocationHandler = invocationHandler; authenticationContext = authenticationContextSupplier != null ? authenticationContextSupplier.get() : AuthenticationContext.captureCurrent(); this.invokedProxy = invokedProxy; this.parameters = parameters; this.methodInfo = methodInfo; long timeout = invocationHandler.getInvocationTimeout(); if (timeout == -1) { timeout = ejbClientContext.getInvocationTimeout(); } this.timeout = timeout; remainingRetries = allowedRetries; interceptorList = getClientContext().getInterceptors(getViewClass(), getInvokedMethod()); }
final EJBClientContext.InterceptorList list = getClientContext().getInterceptors(getViewClass(), getInvokedMethod()); final EJBClientInterceptorInformation[] chain = list.getInformation(); final EJBReceiverInvocationContext.ResultProducer resultProducer;
final EJBReceiver receiver; try { receiver = getClientContext().resolveReceiver(destination, getLocator()); } catch (Throwable t) { synchronized (lock) {
EJBClientInvocationContext(final EJBInvocationHandler<?> invocationHandler, final EJBClientContext ejbClientContext, final Object invokedProxy, final Object[] parameters, final EJBProxyInformation.ProxyMethodInfo methodInfo, final int allowedRetries, final Supplier<AuthenticationContext> authenticationContextSupplier) { super(invocationHandler.getLocator(), ejbClientContext); this.invocationHandler = invocationHandler; authenticationContext = authenticationContextSupplier != null ? authenticationContextSupplier.get() : AuthenticationContext.captureCurrent(); this.invokedProxy = invokedProxy; this.parameters = parameters; this.methodInfo = methodInfo; long timeout = invocationHandler.getInvocationTimeout(); if (timeout == -1) { timeout = ejbClientContext.getInvocationTimeout(); } this.timeout = timeout; remainingRetries = allowedRetries; interceptorList = getClientContext().getInterceptors(getViewClass(), getInvokedMethod()); }
EJBClientInvocationContext(final EJBInvocationHandler<?> invocationHandler, final EJBClientContext ejbClientContext, final Object invokedProxy, final Object[] parameters, final EJBProxyInformation.ProxyMethodInfo methodInfo, final int allowedRetries, final Supplier<AuthenticationContext> authenticationContextSupplier) { super(invocationHandler.getLocator(), ejbClientContext); this.invocationHandler = invocationHandler; authenticationContext = authenticationContextSupplier != null ? authenticationContextSupplier.get() : AuthenticationContext.captureCurrent(); this.invokedProxy = invokedProxy; this.parameters = parameters; this.methodInfo = methodInfo; long timeout = invocationHandler.getInvocationTimeout(); if (timeout == -1) { timeout = ejbClientContext.getInvocationTimeout(); } this.timeout = timeout; remainingRetries = allowedRetries; interceptorList = getClientContext().getInterceptors(getViewClass(), getInvokedMethod()); }
final EJBClientContext.InterceptorList list = getClientContext().getInterceptors(getViewClass(), getInvokedMethod()); final EJBClientInterceptorInformation[] chain = list.getInformation(); final EJBReceiverInvocationContext.ResultProducer resultProducer;
final EJBClientContext.InterceptorList list = getClientContext().getInterceptors(getViewClass(), getInvokedMethod()); final EJBClientInterceptorInformation[] chain = list.getInformation(); final EJBReceiverInvocationContext.ResultProducer resultProducer;
final EJBReceiver receiver; try { receiver = getClientContext().resolveReceiver(destination, getLocator()); } catch (Throwable t) { synchronized (lock) {
final EJBReceiver receiver; try { receiver = getClientContext().resolveReceiver(destination, getLocator()); } catch (Throwable t) { synchronized (lock) {