Examples of LinkRefResource


Examples of org.jboss.switchboard.impl.resource.LinkRefResource

   {
      // first check lookup name
      String lookupName = jbossJavaEEResourceRef.getLookupName();
      if (lookupName != null && !lookupName.trim().isEmpty())
      {
         return new LinkRefResource(lookupName, null, true);
      }

      // now check mapped name
      String mappedName = jbossJavaEEResourceRef.getMappedName();
      if (mappedName != null && !mappedName.trim().isEmpty())
      {
         return new LinkRefResource(mappedName, null, true);
      }

      // now check (JBoss specific) jndi name!
      String jndiName = jbossJavaEEResourceRef.getJNDIName();
      if (jndiName != null && !jndiName.trim().isEmpty())
      {
         return new LinkRefResource(jndiName, null, true);
      }

      return null;
   }
View Full Code Here

Examples of org.jboss.switchboard.impl.resource.LinkRefResource

      }
      // The EJBBinder might not be available (for example, EJB2.x Entity beans). In such
      // cases, just create a LinkRefResource for the resolved jndi name
      if (result.getEJBBinderName() == null)
      {
         return new LinkRefResource(result.getJNDIName(), null, true);
      }
      // get the invocation dependencies
      Collection<?> invocationDependencies = this.getInvocationDependencies(result);
      // return the resource
      return new EJBRefResource(result.getJNDIName(), result.getEJBBinderName(), invocationDependencies);
View Full Code Here

Examples of org.jboss.switchboard.impl.resource.LinkRefResource

      }
      // The EJBBinder might not be available (for example, EJB2.x Entity beans). In such
      // cases, just create a LinkRefResource for the resolved jndi name
      if (result.getEJBBinderName() == null)
      {
         return new LinkRefResource(result.getJNDIName(), null, true);
      }
      // get the invocation dependencies
      Collection<?> invocationDependencies = this.getInvocationDependencies(result);
      // return the resource
      return new EJBRefResource(result.getJNDIName(), result.getEJBBinderName(), invocationDependencies);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.