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 EJBComponent ejbComponent = ejb.getEjbComponent(); final Class<?> viewClass = invocation.getViewClass(); final ComponentView view = ejb.getView(viewClass.getName()); if (view == null) {
if (hintsDisabled != null && hintsDisabled) { if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Hints are disabled. Ignoring any CompressionHint on methods being invoked on view " + invocationContext.getViewClass());
.setModuleName(locator.getModuleName()) .setDistinctName(locator.getDistinctName()) .setView(clientInvocationContext.getViewClass().getName()) .setBeanName(locator.getBeanName()); if (locator instanceof StatefulEJBLocator) {
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;
if (hintsDisabled != null && hintsDisabled) { if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Hints are disabled. Ignoring any CompressionHint on methods being invoked on view " + invocationContext.getViewClass());
if (hintsDisabled != null && hintsDisabled) { if (Logs.REMOTING.isTraceEnabled()) { Logs.REMOTING.trace("Hints are disabled. Ignoring any CompressionHint on methods being invoked on view " + invocationContext.getViewClass());
final EJBComponent ejbComponent = ejb.getEjbComponent(); final Class<?> viewClass = invocation.getViewClass(); final ComponentView view = ejb.getView(viewClass.getName()); if (view == null) {
.setModuleName(locator.getModuleName()) .setDistinctName(locator.getDistinctName()) .setView(clientInvocationContext.getViewClass().getName()) .setBeanName(locator.getBeanName()); if (locator instanceof StatefulEJBLocator) {
.setModuleName(locator.getModuleName()) .setDistinctName(locator.getDistinctName()) .setView(clientInvocationContext.getViewClass().getName()) .setBeanName(locator.getBeanName()); if (locator instanceof StatefulEJBLocator) {