Examples of Jndi


Examples of com.arjuna.ats.internal.jdbc.drivers.modifiers.jndi

/*  82 */     this._theDataSource = null;
/*  83 */     this._theXAResource = null;
/*  84 */     this._theTransaction = null;
/*  85 */     this._theArjunaConnection = null;
/*     */
/*  95 */     jndi jndiModifier = new jndi();
/*     */
/*  97 */     this._dbName = jndiModifier.initialise(this._dbName);
/*  98 */     this._theModifier = null;
/*     */
/* 100 */     createDataSource();
/*     */   }
View Full Code Here

Examples of com.arjuna.ats.internal.jdbc.drivers.modifiers.jndi

/* 117 */     this._theDataSource = null;
/* 118 */     this._theXAResource = null;
/* 119 */     this._theTransaction = null;
/* 120 */     this._theArjunaConnection = conn;
/*     */
/* 128 */     jndi jndiModifier = new jndi();
/*     */
/* 130 */     this._dbName = jndiModifier.initialise(this._dbName);
/* 131 */     this._theModifier = null;
/*     */
/* 133 */     createDataSource();
/*     */   }
View Full Code Here

Examples of com.caucho.inject.Jndi

          ((ProcessBeanImpl<?>) event).veto();
      }
    }
   
    if (annotated.isAnnotationPresent(Jndi.class)) {
      Jndi jndi = annotated.getAnnotation(Jndi.class);
      String jndiName = jndi.value();

      if ("".equals(jndiName)) {
        jndiName = bean.getBeanClass().getSimpleName();
      }
     
View Full Code Here

Examples of com.caucho.inject.Jndi

          ((ProcessBeanImpl) event).veto();
      }
    }
   
    if (annotated.isAnnotationPresent(Jndi.class)) {
      Jndi jndi = annotated.getAnnotation(Jndi.class);
      String jndiName = jndi.value();
     
      if ("".equals(jndiName)) {
        jndiName = bean.getBeanClass().getSimpleName();
      }
     
View Full Code Here

Examples of org.apache.openejb.jee.oejb3.Jndi

        EjbModule ejbModule = new EjbModule(new EjbJar(), new OpenejbJar());
        ejbModule.getEjbJar().addEnterpriseBean(new StatelessBean(FooBean.class));

        EjbDeployment ejbDeployment = new EjbDeployment(null, "FooBean", "FooBean");
        ejbDeployment.getJndi().add(new Jndi("thename", "Local"));
        ejbModule.getOpenejbJar().addEjbDeployment(ejbDeployment);

        assembler.createApplication(config.configureApplication(ejbModule));

        InitialContext initialContext = new InitialContext();
View Full Code Here

Examples of org.apache.openejb.jee.oejb3.Jndi

        EjbModule ejbModule = new EjbModule(new EjbJar(), new OpenejbJar());
        ejbModule.getEjbJar().addEnterpriseBean(new StatelessBean(FooBean.class));

        EjbDeployment ejbDeployment = new EjbDeployment(null, "FooBean", "FooBean");
        ejbDeployment.getJndi().add(new Jndi("thename", "Local"));
        ejbDeployment.getJndi().add(new Jndi("anothername", "Remote"));
        ejbDeployment.getJndi().add(new Jndi("loldstyle", "LocalHome"));
        ejbDeployment.getJndi().add(new Jndi("roldstyle", "RemoteHome"));
        ejbModule.getOpenejbJar().addEjbDeployment(ejbDeployment);

        assembler.createApplication(config.configureApplication(ejbModule));

        InitialContext initialContext = new InitialContext();
View Full Code Here

Examples of org.apache.openejb.jee.oejb3.Jndi

                }

                String mappedName = enterpriseBean.getMappedName();

                if (mappedName != null && mappedName.length() > 0) {
                    ejbDeployment.getJndi().add(new Jndi(mappedName, "Remote"));
                }
            }
        }

        return appModule;
View Full Code Here

Examples of org.apache.openejb.jee.oejb3.Jndi

                continue;
            }

            // JNDI name of the remote home (legacy remote interface)
            if (ejb.getJndiName() != null) {
                deployment.getJndi().add(new Jndi(ejb.getJndiName(), "RemoteHome"));
            }

            // JNDI name of the remote home (legacy remote interface)
            if (ejb.getLocalJndiName() != null) {
                deployment.getJndi().add(new Jndi(ejb.getLocalJndiName(), "LocalHome"));
            }

            // TODO: What would be the default JNDI name for a business remote interface?
            //deployment.getJndi().add(new Jndi("{theFormat}", "Remote"));
View Full Code Here

Examples of org.apache.openejb.jee.oejb3.Jndi

                continue;
            }

            // JNDI name of the remote home (legacy remote interface)
            if (ejb.getJndiName() != null) {
                deployment.getJndi().add(new Jndi(ejb.getJndiName(), "RemoteHome"));
            }

            // JNDI name of the remote home (legacy remote interface)
            if (ejb.getLocalJndiName() != null) {
                deployment.getJndi().add(new Jndi(ejb.getLocalJndiName(), "LocalHome"));
            }

            // TODO: What would be the default JNDI name for a business remote interface?
            //deployment.getJndi().add(new Jndi("{theFormat}", "Remote"));
View Full Code Here

Examples of org.apache.openejb.jee.oejb3.Jndi

        EjbModule ejbModule = new EjbModule(new EjbJar(), new OpenejbJar());
        ejbModule.getEjbJar().addEnterpriseBean(new StatelessBean(FooBean.class));

        EjbDeployment ejbDeployment = new EjbDeployment(null, "FooBean", "FooBean");
        ejbDeployment.getJndi().add(new Jndi("thename", "Local"));
        ejbDeployment.getJndi().add(new Jndi("anothername", "Remote"));
        ejbDeployment.getJndi().add(new Jndi("loldstyle", "LocalHome"));
        ejbDeployment.getJndi().add(new Jndi("roldstyle", "RemoteHome"));
        ejbModule.getOpenejbJar().addEjbDeployment(ejbDeployment);

        assembler.createApplication(config.configureApplication(ejbModule));

        InitialContext initialContext = new InitialContext();
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.