Package org.apache.muse.ws.dm.muws.remote

Examples of org.apache.muse.ws.dm.muws.remote.RelationshipsClient


            WsResourceClient resource_client = new WsResourceClient(repr);
            resource_client.setTrace(tracing);
           
            resource_client.getResourcePropertyDocument();

            RelationshipsClient rc = new RelationshipsClient(epr);
            rc.setTrace(tracing);
            QName names[] = {
                new QName("http://resource.management.osgi/Bundle","Requires","osgi")
            };
            rc.queryRelationshipsByType(names);
           
            //Query service relationships
            epr = new EndpointReference(sepr.getAddress());
            parms = sepr.getParameters();
            for(int i=0;i<parms.length;i++){
              epr.addParameter(parms[i]);
            }
           
            rc = new RelationshipsClient(epr);
            rc.setTrace(tracing);
            QName service_names[] = {
                new QName("http://resource.management.osgi/Service","ServiceProvider","osgi")
            };
            rc.queryRelationshipsByType(service_names);
        }
       
        catch (Throwable error)
        {
            error.printStackTrace();
View Full Code Here

TOP

Related Classes of org.apache.muse.ws.dm.muws.remote.RelationshipsClient

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.