Examples of GBeanReference


Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            NamingBuilder.JNDI_KEY.get(componentContext).put(ENV + refName, new GBeanReference(module.getConfigId(), queries, gBeanType));

        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

            throw new DeploymentException("Cannot load GBean class", e);
        }

        String refName = gerGbeanRef.getRefName();

        builder.bind(refName, new GBeanReference(configuration.getId(), queries, gBeanType));
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            NamingBuilder.JNDI_KEY.get(componentContext).put(ENV + refName, new GBeanReference(localConfiguration.getId(), queries, gBeanType));

        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

        AbstractNameQuery transactionManager = module.getEarContext().getTransactionManagerName();
        if (transactionManager != null) {
            Set<AbstractNameQuery> query = new HashSet<AbstractNameQuery>();
            query.add(transactionManager);
            GBeanReference transactionManagerRef = new GBeanReference(module.getConfigId(), query, TransactionManager.class);
            put("java:comp/TransactionManager", transactionManagerRef, ReferenceType.RESOURCE_ENV, module.getJndiContext(), Collections.<InjectionTarget>emptySet(), sharedContext);
            GBeanReference transactionSynchronizationRef = new GBeanReference(module.getConfigId(), query, TransactionSynchronizationRegistry.class);
            put("java:comp/TransactionSynchronizationRegistry", transactionSynchronizationRef, ReferenceType.RESOURCE_ENV, module.getJndiContext(), Collections.<InjectionTarget>emptySet(), sharedContext);
        }

        put("java:comp/Bundle", new BundleReference(), ReferenceType.RESOURCE_ENV, module.getJndiContext(), Collections.<InjectionTarget> emptySet(), sharedContext);
        put("java:comp/BundleContext", new BundleContextReference(), ReferenceType.RESOURCE_ENV, module.getJndiContext(), Collections.<InjectionTarget> emptySet(), sharedContext);
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            put(refName, new GBeanReference(module.getConfigId(), queries, gBeanType), ReferenceType.GBEAN, module.getJndiContext(), Collections.<InjectionTarget> emptySet(), sharedContext);

        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            NamingBuilder.JNDI_KEY.get(componentContext).put(ENV + refName, new GBeanReference(module.getConfigId(), queries, gBeanType));

        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            ((Map)componentContext.get(JNDI_KEY)).put(ENV + refName, new GBeanReference(localConfiguration.getId(), queries, gBeanType));

        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

            throw new DeploymentException("Cannot load GBean class", e);
        }

        String refName = gerGbeanRef.getRefName();

        builder.bind(refName, new GBeanReference(configuration.getId(), queries, gBeanType));
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            put(refName, new GBeanReference(module.getConfigId(), queries, gBeanType), NamingBuilder.JNDI_KEY.get(sharedContext));

        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.GBeanReference

                throw new DeploymentException("Cannot load GBean class", e);
            }

            String refName = gbeanRef.getRefName();

            ((Map)componentContext.get(JNDI_KEY)).put(ENV + refName, new GBeanReference(localConfiguration.getId(), queries, gBeanType));

        }
    }
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.