Package org.apache.geronimo.interop.adapter

Examples of org.apache.geronimo.interop.adapter.Adapter


            {
                warnLookupFailed(clientInfo, notFound);
                throw new org.omg.CORBA.OBJECT_NOT_EXIST(objectName);
            }

            Adapter adapter = (Adapter)object;
            if (adapter != null)
            {
                adapter.invoke(request.operation, objectKey, objectIn, objectOut);

                if (objectOut.hasException()) {
                    reply.reply_status = ReplyStatusType_1_2.USER_EXCEPTION;
                } else {
                    reply.reply_status = ReplyStatusType_1_2.NO_EXCEPTION;
View Full Code Here


    protected org.omg.CORBA.Object lookup(String nameString, NameComponent[] name) throws NotFound {
        try {
            Object object = nameService.lookup(nameString);

            if (object instanceof Adapter) {
                Adapter a = (Adapter) object;
                //RemoteInterface remote = a.getRemoteInterface();
                //return remote.$getObjectRef();
                return a.getObjectRef();
            } else {
                NameServiceLog.getInstance().warnObjectHasNoRemoteInterface(nameString, object.getClass().getName());
                throw new NotFound(NotFoundReason.not_object, name);
            }
        } catch (NameNotFoundException notFound) {
View Full Code Here

TOP

Related Classes of org.apache.geronimo.interop.adapter.Adapter

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.