congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
EJBClientContext.getInvocationTimeout
Code IndexAdd Tabnine to your IDE (free)

How to use
getInvocationTimeout
method
in
org.jboss.ejb.client.EJBClientContext

Best Java code snippets using org.jboss.ejb.client.EJBClientContext.getInvocationTimeout (Showing top 3 results out of 315)

origin: wildfly/wildfly

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());
}
origin: wildfly/jboss-ejb-client

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());
}
origin: org.jboss.eap/wildfly-client-all

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());
}
org.jboss.ejb.clientEJBClientContextgetInvocationTimeout

Javadoc

Get the configured invocation timeout. A value of zero indicates that invocations never time out.

Popular methods of EJBClientContext

  • setSelector
  • getContextManager
    Get the context manager.
  • getAttachment
  • <init>
  • calculateMethodInterceptors
  • create
  • createSession
  • createSessionCreationInvocationContext
  • getClassPathInterceptors
  • getClusterNodeSelector
  • getConfiguredConnections
    Get the pre-configured connections for this context. This information may not be used by some transp
  • getConfiguredPerClassInterceptors
  • getConfiguredConnections,
  • getConfiguredPerClassInterceptors,
  • getConfiguredPerMethodInterceptors,
  • getCurrent,
  • getDeploymentNodeSelector,
  • getGlobalInterceptors,
  • getInterceptors,
  • getMaximumConnectedClusterNodes,
  • getTransportProvider

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Notification (javax.management)
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now