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

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

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

origin: wildfly/wildfly

Builder(final EJBClientContext clientContext) {
  globalInterceptors = Arrays.stream(clientContext.globalInterceptors.getInformation()).collect(Collectors.toCollection(ArrayList::new));
  classInterceptors = new ArrayList<>();
  for (Map.Entry<String, InterceptorList> entry : clientContext.getConfiguredPerClassInterceptors().entrySet()) {
    final String className = entry.getKey();
    for (EJBClientInterceptorInformation information : entry.getValue().getInformation()) {
      classInterceptors.add(new ClassInterceptor(className, information));
    }
  }
  methodInterceptors = new ArrayList<>();
  for (Map.Entry<String, Map<EJBMethodLocator, InterceptorList>> entry : clientContext.getConfiguredPerMethodInterceptors().entrySet()) {
    final String className = entry.getKey();
    for (Map.Entry<EJBMethodLocator, InterceptorList> entry1 : entry.getValue().entrySet()) {
      final EJBMethodLocator methodLocator = entry1.getKey();
      for (EJBClientInterceptorInformation information : entry1.getValue().getInformation()) {
        methodInterceptors.add(new MethodInterceptor(className, methodLocator, information));
      }
    }
  }
  transportProviders = new ArrayList<>();
  Collections.addAll(transportProviders, clientContext.transportProviders);
  clientConnections = new ArrayList<>();
  clientConnections.addAll(clientContext.getConfiguredConnections());
  clientClusters = new ArrayList<>();
  clientClusters.addAll(clientContext.configuredClusters.values());
  clusterNodeSelector = clientContext.clusterNodeSelector;
  deploymentNodeSelector = clientContext.deploymentNodeSelector;
  invocationTimeout = clientContext.invocationTimeout;
}
origin: wildfly/wildfly

for (EJBClientConnection connection : ejbReceiver.getReceiverContext().getClientContext().getConfiguredConnections()) {
  if (connection.isForDiscovery()) {
    everything.add(connection.getDestination());
origin: wildfly/wildfly

final List<EJBClientConnection> configuredConnections = ejbClientContext.getConfiguredConnections();
origin: org.jboss.eap/wildfly-client-all

Builder(final EJBClientContext clientContext) {
  globalInterceptors = Arrays.stream(clientContext.globalInterceptors.getInformation()).collect(Collectors.toCollection(ArrayList::new));
  classInterceptors = new ArrayList<>();
  for (Map.Entry<String, InterceptorList> entry : clientContext.getConfiguredPerClassInterceptors().entrySet()) {
    final String className = entry.getKey();
    for (EJBClientInterceptorInformation information : entry.getValue().getInformation()) {
      classInterceptors.add(new ClassInterceptor(className, information));
    }
  }
  methodInterceptors = new ArrayList<>();
  for (Map.Entry<String, Map<EJBMethodLocator, InterceptorList>> entry : clientContext.getConfiguredPerMethodInterceptors().entrySet()) {
    final String className = entry.getKey();
    for (Map.Entry<EJBMethodLocator, InterceptorList> entry1 : entry.getValue().entrySet()) {
      final EJBMethodLocator methodLocator = entry1.getKey();
      for (EJBClientInterceptorInformation information : entry1.getValue().getInformation()) {
        methodInterceptors.add(new MethodInterceptor(className, methodLocator, information));
      }
    }
  }
  transportProviders = new ArrayList<>();
  Collections.addAll(transportProviders, clientContext.transportProviders);
  clientConnections = new ArrayList<>();
  clientConnections.addAll(clientContext.getConfiguredConnections());
  clientClusters = new ArrayList<>();
  clientClusters.addAll(clientContext.configuredClusters.values());
  clusterNodeSelector = clientContext.clusterNodeSelector;
  deploymentNodeSelector = clientContext.deploymentNodeSelector;
  invocationTimeout = clientContext.invocationTimeout;
}
origin: wildfly/jboss-ejb-client

Builder(final EJBClientContext clientContext) {
  globalInterceptors = Arrays.stream(clientContext.globalInterceptors.getInformation()).collect(Collectors.toCollection(ArrayList::new));
  classInterceptors = new ArrayList<>();
  for (Map.Entry<String, InterceptorList> entry : clientContext.getConfiguredPerClassInterceptors().entrySet()) {
    final String className = entry.getKey();
    for (EJBClientInterceptorInformation information : entry.getValue().getInformation()) {
      classInterceptors.add(new ClassInterceptor(className, information));
    }
  }
  methodInterceptors = new ArrayList<>();
  for (Map.Entry<String, Map<EJBMethodLocator, InterceptorList>> entry : clientContext.getConfiguredPerMethodInterceptors().entrySet()) {
    final String className = entry.getKey();
    for (Map.Entry<EJBMethodLocator, InterceptorList> entry1 : entry.getValue().entrySet()) {
      final EJBMethodLocator methodLocator = entry1.getKey();
      for (EJBClientInterceptorInformation information : entry1.getValue().getInformation()) {
        methodInterceptors.add(new MethodInterceptor(className, methodLocator, information));
      }
    }
  }
  transportProviders = new ArrayList<>();
  Collections.addAll(transportProviders, clientContext.transportProviders);
  clientConnections = new ArrayList<>();
  clientConnections.addAll(clientContext.getConfiguredConnections());
  clientClusters = new ArrayList<>();
  clientClusters.addAll(clientContext.configuredClusters.values());
  clusterNodeSelector = clientContext.clusterNodeSelector;
  deploymentNodeSelector = clientContext.deploymentNodeSelector;
  invocationTimeout = clientContext.invocationTimeout;
}
origin: wildfly/jboss-ejb-client

for (EJBClientConnection connection : ejbReceiver.getReceiverContext().getClientContext().getConfiguredConnections()) {
  if (connection.isForDiscovery()) {
    everything.add(connection.getDestination());
origin: org.jboss.eap/wildfly-client-all

for (EJBClientConnection connection : ejbReceiver.getReceiverContext().getClientContext().getConfiguredConnections()) {
  if (connection.isForDiscovery()) {
    everything.add(connection.getDestination());
origin: org.jboss.eap/wildfly-client-all

final List<EJBClientConnection> configuredConnections = ejbClientContext.getConfiguredConnections();
origin: wildfly/jboss-ejb-client

final List<EJBClientConnection> configuredConnections = ejbClientContext.getConfiguredConnections();
org.jboss.ejb.clientEJBClientContextgetConfiguredConnections

Javadoc

Get the pre-configured connections for this context. This information may not be used by some transport providers and mainly exists for legacy compatibility purposes.

Popular methods of EJBClientContext

  • setSelector
  • getContextManager
    Get the context manager.
  • getAttachment
  • <init>
  • calculateMethodInterceptors
  • create
  • createSession
  • createSessionCreationInvocationContext
  • getClassPathInterceptors
  • getClusterNodeSelector
  • getConfiguredPerClassInterceptors
  • getConfiguredPerMethodInterceptors
  • getConfiguredPerClassInterceptors,
  • getConfiguredPerMethodInterceptors,
  • getCurrent,
  • getDeploymentNodeSelector,
  • getGlobalInterceptors,
  • getInterceptors,
  • getInvocationTimeout,
  • getMaximumConnectedClusterNodes,
  • getTransportProvider

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • runOnUiThread (Activity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JComboBox (javax.swing)
  • 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