Package info.openurl.oom.entities

Examples of info.openurl.oom.entities.ServiceType


            Referent referent = processor.referentFactory(referentDescriptors.toArray());
            Requester requester = processor.requesterFactory(requesterDescriptors.toArray());
            ReferringEntity referringEntity = processor.referringEntityFactory(referringEntityDescriptors.toArray());
            Referrer referrer = processor.referrerFactory(referrerDescriptors.toArray());
            Resolver resolver = processor.resolverFactory(resolverDescriptors.toArray());
            ServiceType serviceType = processor.serviceTypeFactory(serviceTypeDescriptors.toArray());

            // Construct the ContextObject
            ContextObject contextObject =
                    processor.contextObjectFactory(referent, new ReferringEntity[] { referringEntity },
                            new Requester[] { requester }, new ServiceType[] { serviceType },
View Full Code Here


            ContextObject contextObject = contextObjects[i];
            ServiceType[] serviceTypes = contextObject.getServiceTypes();

            // Try each ServiceType/Service until someone responds
            for (int j = 0; response == null && j < serviceTypes.length; ++j) {
                ServiceType serviceType = serviceTypes[j];
                Object[] descriptors = serviceType.getDescriptors();

                // Try each Service until someone responds
                for (int k = 0; response == null && k < descriptors.length; ++k) {
                    Object descriptor = descriptors[k];
                    if (descriptor instanceof Service) {
View Full Code Here

TOP

Related Classes of info.openurl.oom.entities.ServiceType

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.