Package org.apache.geronimo.naming.reference

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


            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    ResourceReferenceFactory<RuntimeException> ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here


            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    ResourceReferenceFactory<RuntimeException> ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

            String objectFactoryLocation = getStringValue(gerResourceEnvRef.getObjectFactoryLocation());
            return new Reference(clazz, addr, objectFactory, objectFactoryLocation);
        }

        if (type.equals("javax.transaction.UserTransaction")) {
            return new UserTransactionReference();
        }

        if(DEFAULT_COMP_JNDI_NAMES.contains(name)) {
            return null;
        }
View Full Code Here

            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    ResourceReferenceFactory<RuntimeException> ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    Reference ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    Reference ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    Reference ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

        } catch (ClassNotFoundException e) {
            throw new DeploymentException("Could not load resource-env-ref entry class " + type, e);
        }
   
        if (type.equals("javax.transaction.UserTransaction")) {
            return new UserTransactionReference();
        } else {
            try {
                AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                ResourceReferenceFactory<RuntimeException> ref = buildAdminObjectReference(module, containerId, iface);
                return ref;
View Full Code Here

            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    ResourceReferenceFactory<RuntimeException> ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

            GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
            refMap.remove(name);
            try {
                String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
                if (refType.equals("javax.transaction.UserTransaction")) {
                    Reference ref = new UserTransactionReference();
                    getJndiContextMap(componentContext).put(ENV + name, ref);
                } else {
                    AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
                    ResourceReferenceFactory<RuntimeException> ref = buildAdminObjectReference(module, containerId, iface);
                    getJndiContextMap(componentContext).put(ENV + name, ref);
View Full Code Here

TOP

Related Classes of org.apache.geronimo.naming.reference.UserTransactionReference

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.