Package org.eclipse.persistence.internal.sessions.remote

Examples of org.eclipse.persistence.internal.sessions.remote.Transporter


            ServantObject so = _servant_preinvoke("cursoredStreamSize", RMIRemoteSessionController.class);
            if (so == null) {
                return cursoredStreamSize(cursoredStream);
            }
            try {
                Transporter cursoredStreamCopy = (Transporter)Util.copyObject(cursoredStream, _orb());
                Transporter result = ((RMIRemoteSessionController)so.servant).cursoredStreamSize(cursoredStreamCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here


            ServantObject so = _servant_preinvoke("cursorSelectObjects", RMIRemoteSessionController.class);
            if (so == null) {
                return cursorSelectObjects(policy);
            }
            try {
                Transporter policyCopy = (Transporter)Util.copyObject(policy, _orb());
                Transporter result = ((RMIRemoteSessionController)so.servant).cursorSelectObjects(policyCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            if (so == null) {
                return executeNamedQuery(name, theClass, arguments);
            }
            try {
                Object[] copies = Util.copyObjects(new Object[] { name, theClass, arguments }, _orb());
                Transporter nameCopy = (Transporter)copies[0];
                Transporter theClassCopy = (Transporter)copies[1];
                Transporter argumentsCopy = (Transporter)copies[2];
                Transporter result = ((RMIRemoteSessionController)so.servant).executeNamedQuery(nameCopy, theClassCopy, argumentsCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("executeQuery", RMIRemoteSessionController.class);
            if (so == null) {
                return executeQuery(query);
            }
            try {
                Transporter queryCopy = (Transporter)Util.copyObject(query, _orb());
                Transporter result = ((RMIRemoteSessionController)so.servant).executeQuery(queryCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("getDescriptor", RMIRemoteSessionController.class);
            if (so == null) {
                return getDescriptor(domainClass);
            }
            try {
                Transporter domainClassCopy = (Transporter)Util.copyObject(domainClass, _orb());
                Transporter result = ((RMIRemoteSessionController)so.servant).getDescriptor(domainClassCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("getDefaultReadOnlyClasses", RMIRemoteSessionController.class);
            if (so == null) {
                return getDefaultReadOnlyClasses();
            }
            try {
                Transporter result = ((RMIRemoteSessionController)so.servant).getDefaultReadOnlyClasses();
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("_get_login", RMIRemoteSessionController.class);
            if (so == null) {
                return getLogin();
            }
            try {
                Transporter result = ((RMIRemoteSessionController)so.servant).getLogin();
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("getSequenceNumberNamed", RMIRemoteSessionController.class);
            if (so == null) {
                return getSequenceNumberNamed(remoteFunctionCall);
            }
            try {
                Transporter remoteFunctionCallCopy = (Transporter)Util.copyObject(remoteFunctionCall, _orb());
                Transporter result = ((RMIRemoteSessionController)so.servant).getSequenceNumberNamed(remoteFunctionCallCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("initializeIdentityMapsOnServerSession", RMIRemoteSessionController.class);
            if (so == null) {
                return initializeIdentityMapsOnServerSession();
            }
            try {
                Transporter result = ((RMIRemoteSessionController)so.servant).initializeIdentityMapsOnServerSession();
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

            ServantObject so = _servant_preinvoke("instantiateRemoteValueHolderOnServer", RMIRemoteSessionController.class);
            if (so == null) {
                return instantiateRemoteValueHolderOnServer(remoteValueHolder);
            }
            try {
                Transporter remoteValueHolderCopy = (Transporter)Util.copyObject(remoteValueHolder, _orb());
                Transporter result = ((RMIRemoteSessionController)so.servant).instantiateRemoteValueHolderOnServer(remoteValueHolderCopy);
                return (Transporter)Util.copyObject(result, _orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex, _orb());
                throw Util.wrapException(exCopy);
            } finally {
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.internal.sessions.remote.Transporter

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.