Codota Logo
org.jboss.ejb3.enc
Code IndexAdd Codota to your IDE (free)

How to use org.jboss.ejb3.enc

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: org.jboss.jbossas/jboss-as-ejb3

public String getEjbJndiName(Class businessInterface) throws NameNotFoundException
{
 return ejbResolver.getEjbJndiName(businessInterface);
}
origin: org.jboss.jbossas/jboss-as-ejb3

public Container resolveEjbContainer(String link, Class businessIntf)
{
 return ejbResolver.getEjbContainer(link, businessIntf);
}
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

rtnContainer = searchForEjbContainerInternally(businessIntf);
if (rtnContainer != null) return rtnContainer;
   EJBContainer newContainer = getEjbContainer(deployment, businessIntf);
   if (rtnContainer == newContainer) continue; // don't check self
   if (rtnContainer != null && newContainer != null)
origin: org.jboss.ejb3/jboss-ejb3-core

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

EJBContainer ejb = searchDeploymentInternally(ejbLink, businessIntf);
if (ejb != null) return ejb;
for (Object obj : Ejb3Registry.getContainers())
origin: org.jboss.jbossas/jboss-as-ejb3

messageDestinationResolver = new MessageDestinationResolver(deploymentScope, xml.getMessageDestinations());
origin: org.jboss.jbossas/jboss-as-ejb3

public Container resolveEjbContainer(Class businessIntf) throws NameNotFoundException
{
 return ejbResolver.getEjbContainer(businessIntf);
}
origin: org.jboss.jbossas/jboss-as-ejb3

public String getEjbJndiName(String link, Class businessInterface)
{
 return ejbResolver.getEjbJndiName(link, businessInterface);
}
origin: org.jboss.ejb3/jboss-ejb3-core

public String getEjbJndiName(String ejbLink, Class businessIntf)
{
 EJBContainer container = getEjbContainer(ejbLink, businessIntf);
 if (container == null)
 {
   return null;
 }
 return ProxyFactoryHelper.getJndiName(container, businessIntf);
}
origin: org.jboss.jbossas/jboss-as-tomcat

@Override
public String getEjbJndiName(String ejbLink, Class businessIntf)
{
 String name = super.getEjbJndiName(ejbLink, businessIntf);
 if( name == null )
 {
   if( EJBLocalObject.class.isAssignableFrom(businessIntf) )
    name = EjbUtil50.findLocalEjbLink(mainDeployer, unit, ejbLink);
   else
    name = EjbUtil50.findEjbLink(mainDeployer, unit, ejbLink);
 }
 return name;
}
origin: org.jboss.ejb3/jboss-ejb3-core

  public String getEjbJndiName(Class businessIntf) throws NameNotFoundException
  {
   EJBContainer container = getEjbContainer(businessIntf);
   String jndiName = ProxyFactoryHelper.getJndiName(container, businessIntf);
   if (jndiName == null) throw new NameNotFoundException("not used by any EJBs");
   return jndiName;
  }
}
org.jboss.ejb3.enc

Most used classes

  • DeploymentEjbResolver
    Class to resolve EJB containers from ejb-ref or @EJB metadata This class is overriden for specific b
  • MessageDestinationResolver
    Find a message destination link within any module of this JavaEE application deployment.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now