Package org.apache.geronimo.concurrent.naming

Examples of org.apache.geronimo.concurrent.naming.ResourceReferenceFactory


            }
           
            try {
                // TODO: should we also pass interfaces to discover the right gbeans?
                AbstractNameQuery containerId = getAdminObjectContainerId(name, j2eeType, gerResourceEnvRef);
                ResourceReferenceFactory ref = buildManagedObjectReference(module, containerId, iface);
                getJndiContextMap(componentContext).put(ENV + name, ref);
            } catch (UnresolvedReferenceException e) {
                throw new DeploymentException(
                        "Unable to resolve resource env reference '"
                                + name
View Full Code Here


                throw new DeploymentException("Cannot resolve managed object ref " + containerId);
            } else if (results.size() > 1) {
                throw new DeploymentException("Managed object ref resolved to multiple results " + containerId);
            }
        }
        return new ResourceReferenceFactory(module.getConfigId(), containerId, iface, module.getModuleName());
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.concurrent.naming.ResourceReferenceFactory

Copyright © 2018 www.massapicom. 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.