Examples of describe()


Examples of eu.planets_project.services.PlanetsService.describe()

      PlanetsService planetsService = planetsServiceType.cast(service.getPort(planetsServiceType));
     
      //finally update the object
      declaredWFService.setAccessible(true);
      declaredWFService.set(wft, planetsService);
      log.debug("Successfully instantiated a PlanetsService of interface type: "+planetsService.describe().getClassname());
     
    //2) set additional configured parameters for this service as e.g. input/output format for migration services or service specific parameters as e.g. compression type, etc.
      if(serviceConf.getParameters()!=null){
        setServiceParameters(wft, planetsService, serviceConf.getParameters());
      }
View Full Code Here

Examples of eu.planets_project.services.PlanetsService.describe()

    public static ServiceDescription getServiceDescription( URL wsdlLocation ) {
        try {
            PlanetsServiceExplorer se = new PlanetsServiceExplorer(wsdlLocation);
            PlanetsService s = (PlanetsService) createServiceObject(se.getServiceClass(), wsdlLocation);
            if( s == null ) return null;
            ServiceDescription sd = s.describe();
        return sd;
        } catch( Exception e ) {
            log.error("Runtime exception while inspecting WSDL: "+wsdlLocation+" : "+e);
            return null;
        }
View Full Code Here

Examples of eu.planets_project.services.PlanetsService.describe()

            e.printStackTrace();
            return null;
        }
       
        // Return the description:
        return service.describe();
    }

    /**
     * Main so that this can be invoked from the build scripts to create descriptions from the code.
     *
 
View Full Code Here

Examples of eu.planets_project.services.characterise.Characterise.describe()

                CharacteriseResult cr2 = chr.characterise( this.getDob2().getDob(), null);
                this.compareServiceReport = cr2.getReport();
               
                me = this.createMeasurementEvent();
                if( me != null ) {
                    me.setAgent(new MeasurementAgent(chr.describe()));
                    me.setDate(Calendar.getInstance());
                    this.recordPropertyComparison(me, cr1.getProperties(), this.getDobUri1(), cr2.getProperties(), this.getDobUri2() );
                   
                    ExperimentInspector.persistExperiment();
                }
View Full Code Here

Examples of eu.planets_project.services.compare.Compare.describe()

                CharacteriseResult cr2 = chr.characterise( this.getDob2().getDob(), null);
                this.compareServiceReport = cr2.getReport();
               
                me = this.createMeasurementEvent();
                if( me != null ) {
                    me.setAgent(new MeasurementAgent(chr.describe()));
                    me.setDate(Calendar.getInstance());
                    this.recordPropertyComparison(me, cr1.getProperties(), this.getDobUri1(), cr2.getProperties(), this.getDobUri2() );
                   
                    ExperimentInspector.persistExperiment();
                }
View Full Code Here

Examples of eu.planets_project.services.identify.Identify.describe()

                IdentifyResult ir2 = idf.identify( this.getDob2().getDob(), null);
                this.compareServiceReport = ir2.getReport();
               
                me = this.createMeasurementEvent();
                if( me != null ) {
                    me.setAgent(new MeasurementAgent(idf.describe()));
                    me.setDate(Calendar.getInstance());
                    this.recordIdentifyComparison(me, ir1, this.getDobUri1(), ir2, this.getDobUri2() );
                   
                    ExperimentInspector.persistExperiment();
                }
View Full Code Here

Examples of eu.planets_project.tb.impl.services.wrappers.CharacteriseWrapper.describe()

                CharacteriseResult cr2 = chr.characterise( this.getDob2().getDob(), null);
                this.compareServiceReport = cr2.getReport();
               
                me = this.createMeasurementEvent();
                if( me != null ) {
                    me.setAgent(new MeasurementAgent(chr.describe()));
                    me.setDate(Calendar.getInstance());
                    this.recordPropertyComparison(me, cr1.getProperties(), this.getDobUri1(), cr2.getProperties(), this.getDobUri2() );
                   
                    ExperimentInspector.persistExperiment();
                }
View Full Code Here

Examples of eu.planets_project.tb.impl.services.wrappers.CompareWrapper.describe()

                CharacteriseResult cr2 = chr.characterise( this.getDob2().getDob(), null);
                this.compareServiceReport = cr2.getReport();
               
                me = this.createMeasurementEvent();
                if( me != null ) {
                    me.setAgent(new MeasurementAgent(chr.describe()));
                    me.setDate(Calendar.getInstance());
                    this.recordPropertyComparison(me, cr1.getProperties(), this.getDobUri1(), cr2.getProperties(), this.getDobUri2() );
                   
                    ExperimentInspector.persistExperiment();
                }
View Full Code Here

Examples of eu.planets_project.tb.impl.services.wrappers.IdentifyWrapper.describe()

                IdentifyResult ir2 = idf.identify( this.getDob2().getDob(), null);
                this.compareServiceReport = ir2.getReport();
               
                me = this.createMeasurementEvent();
                if( me != null ) {
                    me.setAgent(new MeasurementAgent(idf.describe()));
                    me.setDate(Calendar.getInstance());
                    this.recordIdentifyComparison(me, ir1, this.getDobUri1(), ir2, this.getDobUri2() );
                   
                    ExperimentInspector.persistExperiment();
                }
View Full Code Here

Examples of games.stendhal.server.entity.Entity.describe()

      String name = entity.get(TYPE);
      if (entity.has(NAME)) {
        name = entity.get(NAME);
      }
      new GameEvent(player.getName(), LOOK, name).raise();
      final String text = entity.describe();

      if (entity.has(Actions.ACTION) && entity.get(Actions.ACTION).equals(Actions.READ)) {
        player.sendPrivateText(NotificationType.RESPONSE, text);
      } else {
        player.sendPrivateText(text);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.