Tabnine Logo
MessageDestinationResolver
Code IndexAdd Tabnine to your IDE (free)

How to use
MessageDestinationResolver
in
org.jboss.ejb3.enc

Best Java code snippets using org.jboss.ejb3.enc.MessageDestinationResolver (Showing top 3 results out of 315)

origin: org.jboss.jbossas/jboss-as-ejb3

public String resolveMessageDestination(String link)
{
 //      // FIXME: this is a copy of DeploymentEjbResolver & Ejb3Deployment.resolveMessageDestination
 //      int hashIndex = link.indexOf('#');
 //      if (hashIndex != -1)
 //      {
 //         if (deploymentScope == null)
 //         {
 //            log.warn("ejb link '" + link + "' is relative, but no deployment scope found");
 //            return null;
 //         }
 //         String relativePath = link.substring(0, hashIndex);
 //         Ejb3Deployment dep = deploymentScope.findRelativeDeployment(relativePath);
 //         if (dep == null)
 //         {
 //            log.warn("can't find a deployment for path '" + relativePath + "' of ejb link '" + link + "'");
 //            return null;
 //         }
 //         String name = link.substring(hashIndex + 1);
 //         // call resolve, because get is private (and should stay that way)
 //         return dep.resolveMessageDestination(name);
 //      }
 //      return getMessageDestination(link);
 return messageDestinationResolver.resolveMessageDestination(link);
}
origin: org.jboss.ejb3/jboss-ejb3-core

  return dep.resolveMessageDestination(name);
String jndiName = getMessageDestinationJNDIName(link);
if(jndiName != null)
  return jndiName;
origin: org.jboss.jbossas/jboss-as-ejb3

messageDestinationResolver = new MessageDestinationResolver(deploymentScope, xml.getMessageDestinations());
org.jboss.ejb3.encMessageDestinationResolver

Javadoc

Find a message destination link within any module of this JavaEE application deployment.

Most used methods

  • <init>
  • getMessageDestinationJNDIName
  • resolveMessageDestination
    Resolve the message destination link name and return the matching jndi name.

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JButton (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top 25 Plugins for Webstorm
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