congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RemoteBinding.jndiBinding
Code IndexAdd Tabnine to your IDE (free)

How to use
jndiBinding
method
in
org.jboss.ejb3.annotation.RemoteBinding

Best Java code snippets using org.jboss.ejb3.annotation.RemoteBinding.jndiBinding (Showing top 6 results out of 315)

origin: org.jboss.ejb3/jboss-ejb3-core

public static String getRemoteBusinessJndiName(EJBContainer container, RemoteBinding binding, boolean conflictCheck)
{
 // Initialize
 String jndiName = null;
 // If binding is not defined
 if (binding == null || binding.jndiBinding() == null || binding.jndiBinding().trim().equals(""))
 {
   // Use the default
   jndiName = getDefaultRemoteBusinessJndiName(container);
   // If we should check for a naming conflict
   if (conflictCheck)
   {
    // Check
    ProxyFactoryHelper.checkForJndiNamingConflict(container);
   }
 }
 // Binding is explicitly-defined
 else
 {
   // use it
   jndiName = binding.jndiBinding();
 }
 // Return
 return jndiName;
}
origin: org.jboss.ejb3/jboss-ejb3-core

protected boolean hasJNDIBinding(String jndiName)
{
 assert jndiName != null : "jndiName is null";
 
 if(localBinding != null)
 {
   if(localBinding.jndiBinding().equals(jndiName))
    return true;
 }
 
 if(remoteBindings != null)
 {
   for(RemoteBinding binding : remoteBindings.value())
   {
    if(binding.jndiBinding().equals(jndiName))
      return true;
   }
 }
 
 return false;
}
origin: org.jboss.ejb3/jboss-ejb3-core

protected SessionProxyFactory getProxyFactory(RemoteBinding binding)
{
 assert binding!=null : RemoteBinding.class.getSimpleName() + " must be specified";
 
 // Get the Registry name
 String proxyFactoryRegistryBindName = this.getJndiRegistrar().getProxyFactoryRegistryKey(binding.jndiBinding(), this.getMetaData(), true);
 
 // Return
 return this.getProxyFactory(proxyFactoryRegistryBindName);
}
origin: org.jboss.ejb3/jboss-ejb3-core

private RemoteBinding initializeRemoteBinding(RemoteBinding binding)
{
 if(binding.jndiBinding().length() == 0)
 {
   return new RemoteBindingImpl(ProxyFactoryHelper.getDefaultRemoteBusinessJndiName(container), binding
      .interceptorStack(), binding.clientBindUrl(), "");
 }
 return binding;
}
origin: org.jboss.ejb3/jboss-ejb3-core

return bindings.value()[0].jndiBinding();
return binding.jndiBinding();
origin: org.jboss.ws/jbossws-jboss510-metadata

protected RemoteBindingMetaData createBindingMetaData(Class<?> type, RemoteBinding annotation)
{
 RemoteBindingMetaData remote = new RemoteBindingMetaData();
 remote.setJndiName(annotation.jndiBinding());
 remote.setClientBindUrl(annotation.clientBindUrl());
 remote.setInterceptorStack(annotation.interceptorStack());
 remote.setProxyFactory(annotation.factory());
 remote.setInvokerName(annotation.invokerName());
 Descriptions descriptions = ProcessorUtils.getDescription(" @RemoteBinding for class " + type.getSimpleName());
 remote.setDescriptions(descriptions);
 return remote;
}
org.jboss.ejb3.annotationRemoteBindingjndiBinding

Popular methods of RemoteBinding

  • <init>
  • clientBindUrl
  • interceptorStack
  • factory
  • invokerName

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Reference (javax.naming)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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